Struct EdgeHash#

Struct Documentation#

struct EdgeHash#

Struct used to create hashes for edges.

Public Functions

template<class T>
inline std::size_t operator()(const std::pair<T, T> &edge) const#

Return the hash for the edge.

Template Parameters:

T – The type of std::pair used to make up the edge.

Parameters:

edge – The edge to hash.

Returns:

The hash for the given edge.