STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::bfs_algo_detail::bfs_init_wf< VD, LevelType > Class Template Reference

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
 

Detailed Description

template<class VD, class LevelType>
class stapl::bfs_algo_detail::bfs_init_wf< VD, LevelType >

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.

Template Parameters
VDType of the vertex-descriptor.
LevelTypeType of the vertex-level.

The documentation for this class was generated from the following file: