STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::partitioner_details::multilevel_vertex_property::pid_comp Struct Reference

Compares id of partition with a specific partition id. More...

Public Member Functions

 pid_comp (size_t const &pid)
 
bool operator() (std::pair< size_t, size_t > const &p)
 

Detailed Description

Compares id of partition with a specific partition id.

Constructor & Destructor Documentation

◆ pid_comp()

stapl::partitioner_details::multilevel_vertex_property::pid_comp::pid_comp ( size_t const &  pid)
Parameters
pidpartition id used for equality check.

Member Function Documentation

◆ operator()()

bool stapl::partitioner_details::multilevel_vertex_property::pid_comp::operator() ( std::pair< size_t, size_t > const &  p)
Parameters
ppair of partition id and partition weight.
Returns
true if pair has the same partition id as m_pid.

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