Zoltan2
|
Sort vector of pairs (key, value) by value. More...
#include <Teuchos_Array.hpp>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | Zoltan2::SortPairs< key_t, value_t > |
Namespaces | |
Zoltan2 | |
Created by mbenlioglu on Aug 31, 2020. | |
Zoltan2::Details | |
Functions | |
template<class KeyType , class ValueType > | |
bool | Zoltan2::Details::SortInc (const std::pair< KeyType, ValueType > &a, const std::pair< KeyType, ValueType > &b) |
template<class KeyType , class ValueType > | |
bool | Zoltan2::Details::SortDec (const std::pair< KeyType, ValueType > &a, const std::pair< KeyType, ValueType > &b) |
Sort vector of pairs (key, value) by value.
This class is needed so we also get the sorted keys (indices).
Definition in file Zoltan2_Sort.hpp.