Class NodeIdAsHash

Class Documentation

class NodeIdAsHash

Hash for node struct that returns node id.

Public Functions

size_t operator()(const Node &n) const

Overlaod () operator to calculate the hash of a Node.

the hash returned is the node id

Return
hash value
Parameters
  • n: Node for which the hash is to be calculated