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 &&target) const |
| Condition to determine if a vertex operator should be invoked on the same vertex after the neighbor operator. In this case, we consider both the KLA superstep condition and if this vertex's out-degree is below a given threshold (which is defined in the vertex operator wrapper (. 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::avoid_hubs, VertexOp, NeighborOp >
Functor to visit the target vertex with the user provided neighbor-operator.
This is a specialization for
- See also
- neighbor_operator_apply_base where the trigger for propagation is both the level criterion and that the visited vertex's out-degree falls below a threshold.
- 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 consider both the KLA superstep condition and if this vertex's out-degree is below a given threshold (which is defined in the vertex operator wrapper (.
- See also
- vertex_operator_apply)).
- Parameters
-
target | The vertex that was sucessfully visited |
The documentation for this struct was generated from the following file: