Template Class greater< NodeKeyPair >¶
- Defined in File utils.hpp
Class Documentation¶
-
template<>
classgreater
<NodeKeyPair>¶ Public Functions
-
bool
operator()
(const NodeKeyPair &nk1, const NodeKeyPair &nk2) const¶ Overload () operator for std::greater to use for comparison by priority queue.
Compares the key values
- Return
- result of comparison
- Parameters
nk1
: node key pair 1nk2
: node key pair 2
-
bool