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_info Class Reference

Local information about the matching status of non-local vertices. More...

Public Member Functions

bool is_unmatched (size_t const &id) const
 Check if a vertex is unmatched. More...
 
void add_matched (size_t const &id, char const &st)
 Add the matching status of a vertex to the local information. More...
 
void clear_maybe_matched ()
 Change status of MAYBE_MATCHED vertices to UNMATCHED.
 

Public Types

enum  { UNMATCHED, MAYBE_MATCHED, MATCHED }
 

Detailed Description

Local information about the matching status of non-local vertices.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Matching status MAYBE_MATCHED is used when a vertex sends a matching request to a neighbor but has not received an answer yet

Member Function Documentation

◆ is_unmatched()

bool stapl::partitioner_details::match_info::is_unmatched ( size_t const &  id) const

Check if a vertex is unmatched.

Parameters
idvertex id.
Returns
true if vertex is unmatched.

◆ add_matched()

void stapl::partitioner_details::match_info::add_matched ( size_t const &  id,
char const &  st 
)

Add the matching status of a vertex to the local information.

Parameters
idvertex id.
stmatching status.

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