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::gain_comparator Struct Reference

Compares the gain of two partitions. Returns true if the first partition has a higher gain. More...

Public Member Functions

bool operator() (std::pair< size_t, int > const &i, std::pair< size_t, int > const &j) const
 

Detailed Description

Compares the gain of two partitions. Returns true if the first partition has a higher gain.

Member Function Documentation

◆ operator()()

bool stapl::partitioner_details::multilevel_vertex_property::gain_comparator::operator() ( std::pair< size_t, int > const &  i,
std::pair< size_t, int > const &  j 
) const
Parameters
ifirst pair of partition id and gain.
isecond pair of partition id and gain.
Returns
true if the first partition has a higher gain.

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