Template Struct TreeNodeHasher

Struct Documentation

template<typename TreeNode, bool force_hash_collisions = false>
struct TreeNodeHasher

Functor to compute the hash of a given (evaluation) tree node.

Public Types

using is_transparent = void

Trait used by the C++ STL allowing heterogenous lookups.

Public Functions

inline std::size_t operator()(const TreeNode *node) const
inline std::size_t operator()(const TreeNode &node) const