Functor to visit the target vertex with the user provided neighbor-operator.
More...
|
template<typename... Args> |
| neighbor_operator_apply (Args &&... args) |
|
template<typename Vertex > |
bool | propagation_condition (Vertex &&) const |
| Condition to determine if a vertex operator should be invoked on the same vertex after the neighbor operator. In this case, we only consider the KLA superstep condition. More...
|
|
void | operator() (Graph *graph, Vertex &&target) const |
|
NeighborOp const & | neighbor_op () const |
|
VertexOp const & | vertex_op () const |
|
template<typename VertexOp, typename NeighborOp>
struct stapl::kla_detail::neighbor_operator_apply< reinvoke_behavior::upto_k, VertexOp, NeighborOp >
Functor to visit the target vertex with the user provided neighbor-operator.
This is a facade for
- See also
- neighbor_operator_apply_base where the trigger for propagation is only if the level criterion is met (i.e., revisitation will be in the same KLA superstep).
- Template Parameters
-
VertexOp | Type of the user provided vertex-operator. |
NeighborOp | Type of the user provided neighbor-operator. |
◆ propagation_condition()
template<typename VertexOp , typename NeighborOp >
template<typename Vertex >
Condition to determine if a vertex operator should be invoked on the same vertex after the neighbor operator. In this case, we only consider the KLA superstep condition.
- Parameters
-
target | The vertex that was sucessfully visited |
The documentation for this struct was generated from the following file: