Template Struct CellHasher

Struct Documentation

template<int N>
struct CellHasher

Hash function for N dimensional Eigen::Vectors of int. The code is from hash_combine function of the Boost library. See http://www.boost.org/doc/libs/1_55_0/doc/html/hash/reference.html#boost.hash_combine .

Public Functions

inline size_t operator()(const Eigen::Vector<int, N> vector) const

Hashes an integer N dimensional integer vector.