ROSE 0.11.145.192
|
Accumulates vertex or edge IDs.
This is a vertex or edge visitor that accumulates the IDs of the vertices or edges that are visited. It can be passed as the functor for any of the functor-calling traversal functions.
Definition at line 1402 of file GraphTraversal.h.
#include <Sawyer/GraphTraversal.h>
Public Member Functions | |
IdAccumulator (size_t n) | |
void | operator() (typename GraphTraits< Graph >::VertexIterator v) |
void | operator() (typename GraphTraits< Graph >::VertexIterator v, typename GraphTraits< Graph >::VertexIterator) |
void | operator() (typename GraphTraits< Graph >::EdgeIterator e) |
void | operator() (typename GraphTraits< Graph >::EdgeIterator e, typename GraphTraits< Graph >::EdgeIterator) |
Public Attributes | |
std::vector< size_t > | ids |
|
inlineexplicit |
Definition at line 1406 of file GraphTraversal.h.
|
inline |
Definition at line 1408 of file GraphTraversal.h.
|
inline |
Definition at line 1411 of file GraphTraversal.h.
|
inline |
Definition at line 1414 of file GraphTraversal.h.
|
inline |
Definition at line 1417 of file GraphTraversal.h.
std::vector<size_t> Sawyer::Container::Algorithm::IdAccumulator< Graph >::ids |
Definition at line 1404 of file GraphTraversal.h.