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

Vertex-initializer functor for sssp(). More...

Public Member Functions

 sssp_init_wf (vd_type source)
 
template<class Vertex >
bool operator() (Vertex &&v) const
 

Detailed Description

template<class VD, class DistType>
class stapl::sssp_algo_detail::sssp_init_wf< VD, DistType >

Vertex-initializer functor for sssp().

Initializes vertices' SSSP-parent, SSSP-distance, and active status. If the vertex is the source, the distance is zero and it is set to active. All other vertices are set to inactive and their distance set to infinity. All vertices' SSSP-parents are set to their own descriptors.

Template Parameters
VDType of the vertex-descriptor.
DistTypeType of the vertex-distance.

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