Template Class greater< NodeKeyPair >

Class Documentation

template<>
class greater<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 1
  • nk2: node key pair 2