STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Attributes
stapl::sgl::frontier_function_apply< F, Frontier, AddToFrontier > Struct Template Reference

Work function to apply the user's initialization operator to every vertex in the graph and to add active vertices to the frontier. More...

Public Member Functions

 frontier_function_apply (F frontier_function, Frontier &frontier)
 
template<typename Vertex >
void operator() (Vertex &&v) const
 

Public Attributes

m_frontier_function
 
Frontier * m_frontier
 

Detailed Description

template<typename F, typename Frontier, bool AddToFrontier>
struct stapl::sgl::frontier_function_apply< F, Frontier, AddToFrontier >

Work function to apply the user's initialization operator to every vertex in the graph and to add active vertices to the frontier.

Template Parameters
FThe user's initialization operator
FrontierThe frontier type
AddToFrontierWhether or not active vertices should be actually added to the frontier

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