19 #include <boost/graph/detail/edge.hpp>
22 template <
class OutEdgeListS,
class VertexListS,
class DirectedS,
23 class VertexProperty,
class EdgeProperty,
class GraphProperty,
27 template <
class Directed,
class Vertex,
class OutEdgeListS,
28 class VertexListS,
class DirectedS,
class VertexProperty,
29 class EdgeProperty,
class GraphProperty,
class EdgeListS>
31 target(
const detail::edge_base<Directed, Vertex>& e,
33 VertexProperty, EdgeProperty, GraphProperty, EdgeListS>&);
36 # include <boost/graph/adjacency_list.hpp>
51 template <
typename Orientation,
typename VertexLabel,
typename EdgeLabel>
53 :
public boost::adjacency_list<boost::setS, boost::vecS, Orientation,
54 VertexLabel, EdgeLabel,
62 typedef boost::adjacency_list<boost::setS, boost::vecS, Orientation,
63 VertexLabel, EdgeLabel,
71 typedef typename boost::graph_traits<self_type>::vertex_iterator
74 typedef typename boost::graph_traits<self_type>::edge_iterator
93 virtual std::ostream&
print(std::ostream& ostr)
const;
95 virtual void print(std::string file)
const;
106 const std::string&
name_get()
const;
107 void name_set(
const std::string& name);
111 template <
typename Orientation,
typename VertexLabel,
typename EdgeLabel>
131 template <
typename VertexLabel = empty,
typename EdgeLabel = empty>
133 :
public graph<boost::bidirectionalS, VertexLabel, EdgeLabel>
145 typedef typename boost::graph_traits<self_type>::vertex_iterator
148 typedef typename boost::graph_traits<self_type>::adjacency_iterator
181 template <
typename VertexLabel = empty,
typename EdgeLabel = empty>
183 :
public graph<boost::undirectedS, VertexLabel, EdgeLabel>
206 #endif // !MISC_GRAPH_HH