template<typename VertexOp, typename NeighborOp, typename Derived>
class stapl::kla_detail::neighbor_operator_apply_base< VertexOp, NeighborOp, Derived >
Functor to visit the target vertex with the user provided neighbor-operator.
Implements the KLA visit pattern, which invokes the user's neighbor-operator on the visited vertex and reinvokes the vertex operator if the both the visit was successful and the sufficient propagation condition is met (e.g., the current level is less than the max allowed level for the KLA superstep).
- Template Parameters
-
VertexOp | Type of the user provided vertex-operator. |
NeighborOp | Type of the user provided neighbor-operator. |
Derived | The derived neighbor operator wrapper which implements the logic for propagation |