Compares the gain of two partitions. Returns true if the first partition has a higher gain.
More...
|
bool | operator() (std::pair< size_t, int > const &i, std::pair< size_t, int > const &j) const |
|
Compares the gain of two partitions. Returns true if the first partition has a higher gain.
◆ 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
-
i | first pair of partition id and gain. |
i | second 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: