CGAL 4.11 - CGAL and the Boost Graph Library
|
The concept EdgeListGraph
refines the concept Graph
and adds the requirement for traversal of all edges in a graph.
Graph
Related Functions | |
(Note that these are not member functions.) | |
template<typename EdgeListGraph > | |
std::pair< boost::graph_traits < EdgeListGraph > ::edge_iterator, boost::graph_traits < EdgeListGraph > ::edge_iterator > | edges (const EdgeListGraph &g) |
template<typename EdgeListGraph > | |
boost::graph_traits < EdgeListGraph > ::ver_size_type | num_edges (const EdgeListGraph &g) |
template<typename EdgeListGraph > | |
boost::graph_traits < EdgeListGraph > ::vertex_descriptor | source (boost::graph_traits< EdgeListGraph >::halfedge_descriptor h, const EdgeListGraph &g) |
template<typename EdgeListGraph > | |
boost::graph_traits < EdgeListGraph > ::vertex_descriptor | target (boost::graph_traits< EdgeListGraph >::halfedge_descriptor h, const EdgeListGraph &g) |
|
related |
returns an iterator range over all edges.
|
related |
returns an upper bound of the number of edges of the graph.
num_edges()
may return a number larger than std::distance(edges(g).first, edges(g).second)
. This is the case for implementations only marking edges deleted in the edge container.
|
related |
returns the source vertex of h
.
|
related |
returns the target vertex of h
.