STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::partitioner_details::match_vertex< Graph, Rem, VP > Struct Template Reference

Functor requesting the matching of a vertex. More...

Public Member Functions

 match_vertex (size_t const &vertex_id, Graph *hview, Rem *rem, size_t const &target)
 
template<typename Vertex >
void operator() (Vertex &v) const
 
size_t target () const
 Returns target id of the matching request.
 

Public Types

typedef VP property_type
 
typedef void result_type
 

Detailed Description

template<typename Graph, typename Rem, typename VP>
struct stapl::partitioner_details::match_vertex< Graph, Rem, VP >

Functor requesting the matching of a vertex.

Template Parameters
Graphgraph type.
Remlocal information type.

Constructor & Destructor Documentation

◆ match_vertex()

template<typename Graph , typename Rem , typename VP >
stapl::partitioner_details::match_vertex< Graph, Rem, VP >::match_vertex ( size_t const &  vertex_id,
Graph *  hview,
Rem *  rem,
size_t const &  target 
)
Parameters
vertex_idid of the vertex requesting a matching.
hviewpointer to graph.
rempointer to local information.
targetid of the target vertex of the matching request.

Member Function Documentation

◆ operator()()

template<typename Graph , typename Rem , typename VP >
template<typename Vertex >
void stapl::partitioner_details::match_vertex< Graph, Rem, VP >::operator() ( Vertex &  v) const
Parameters
vvertex reference, target of the matching request.

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