|
Py2Cpp 1.6.3; VERSION ${PROJECT_VERSION}
|
Atlas view for vertex adjacency in Boost Graph Library graphs. More...
#include <nx2bgl.hpp>
Public Member Functions | |
| AtlasView (Vertex v, const Graph &gra) | |
| Construct a new Atlas View object. | |
| auto | begin () const |
| Get iterator to the beginning of adjacent edges. | |
| auto | end () const |
| Get iterator to the end of adjacent edges. | |
| auto | cbegin () const |
| Get const iterator to the beginning of adjacent edges. | |
| auto | cend () const |
| Get const iterator to the end of adjacent edges. | |
Atlas view for vertex adjacency in Boost Graph Library graphs.
Provides iterable access to edges adjacent to a specific vertex in a BGL graph. This class holds a vertex and a reference to a graph and provides iterator interfaces for traversing edges connected to that vertex.
| Vertex | The vertex descriptor type |
| Graph | The Boost Graph Library graph type |
|
inline |
Construct a new Atlas View object.
Creates an atlas view for a specific vertex in a graph.
| [in] | v | The vertex to view adjacency from |
| [in] | gra | Reference to the graph containing the vertex |
|
inline |
Get iterator to the beginning of adjacent edges.
Returns an iterator to the first edge adjacent to the vertex.
|
inline |
Get const iterator to the beginning of adjacent edges.
Returns a const iterator to the first edge adjacent to the vertex.
|
inline |
Get const iterator to the end of adjacent edges.
Returns a const iterator past the last edge adjacent to the vertex.
|
inline |
Get iterator to the end of adjacent edges.
Returns an iterator past the last edge adjacent to the vertex.