STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Attributes
stapl::sgl::detail::execute_visitor< VertexOp, NeighborOp, Reducer, FinishPredicate, InitializationFunction, OrderingType, OccupancyType, PostExecute, View > Struct Template Reference

Helper to invoke the correct execution strategy based on the provided policy. More...

Public Member Functions

 execute_visitor (VertexOp &vertex_op, NeighborOp &neighbor_op, Reducer &&reducer, FinishPredicate &&finish_pred, InitializationFunction &&initialization_function, PostExecute &&post_execute, View &view)
 
std::size_t operator() (sgl::kla_policy &policy) const
 
std::size_t operator() (sgl::level_sync_policy &policy) const
 
std::size_t operator() (sgl::async_policy &policy) const
 
template<typename T >
std::size_t operator() (T &&) const
 

Public Attributes

VertexOp & m_vertex_op
 
NeighborOp & m_neighbor_op
 
View & m_view
 
Reducer m_reducer
 
FinishPredicate m_pred
 
InitializationFunction m_initialization_function
 
PostExecute m_post_execute
 

Detailed Description

template<typename VertexOp, typename NeighborOp, typename Reducer, typename FinishPredicate, typename InitializationFunction, typename OrderingType, typename OccupancyType, typename PostExecute, typename View>
struct stapl::sgl::detail::execute_visitor< VertexOp, NeighborOp, Reducer, FinishPredicate, InitializationFunction, OrderingType, OccupancyType, PostExecute, View >

Helper to invoke the correct execution strategy based on the provided policy.

Template Parameters
VertexOpType of the user provided vertex-operator.
NeighborOpThe type of the user provided neighbor-operator expressing the computation to be performed over neighboring vertices.
ReducerType of the vertex property reducer for the algorithm.
FinishPredicateType of the predicate indicating when to terminate a traversal.
PostExecuteType of functor that will be executed after each iteration.
ViewType of the input graph_view.

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