STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::balance_neighbor_partitions_wf< Weight_property, Weight_partition_map >::edge_cut_cmp Struct Reference

Compare edge-cut of 2 vertices. More...

Public Member Functions

bool operator() (pair_type const &lhs, pair_type const &rhs)
 

Public Types

typedef std::pair< size_t, size_t > pair_type
 

Detailed Description

template<typename Weight_property, typename Weight_partition_map>
struct stapl::balance_neighbor_partitions_wf< Weight_property, Weight_partition_map >::edge_cut_cmp

Compare edge-cut of 2 vertices.

Member Function Documentation

◆ operator()()

template<typename Weight_property , typename Weight_partition_map >
bool stapl::balance_neighbor_partitions_wf< Weight_property, Weight_partition_map >::edge_cut_cmp::operator() ( pair_type const &  lhs,
pair_type const &  rhs 
)
Parameters
lhspair1 of vertex descriptor and vertex edge-cut.
rhspair2 of vertex descriptor and vertex edge-cut.
Returns
true if pair1 has a higher edge-cut than pair2.

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