Work function to apply the user's initialization operator to every vertex in the graph and to add active vertices to the frontier.
More...
|
| frontier_function_apply (F frontier_function, Frontier &frontier) |
|
template<typename Vertex > |
void | operator() (Vertex &&v) const |
|
|
F | m_frontier_function |
|
Frontier * | m_frontier |
|
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
-
F | The user's initialization operator |
Frontier | The frontier type |
AddToFrontier | Whether or not active vertices should be actually added to the frontier |
The documentation for this struct was generated from the following file: