Vertex-initializer functor for breadth_first_search(). More...
Public Member Functions | |
| bfs_init_wf (vd_type source) | |
| template<class Vertex > | |
| bool | operator() (Vertex &&v) const |
Vertex-initializer functor for breadth_first_search().
Initializes vertices' BFS-parent, BFS-level. If the vertex is the source, the level is one (active). All other vertices' levels are set to zero (inactive). All vertices' BFS-parents are set to their own descriptors.
| VD | Type of the vertex-descriptor. |
| LevelType | Type of the vertex-level. |
1.8.13