StateHashDistribution

Declared in astar/Distribution.h; the same class on the site of Doxygen.

template<Domain D>
class StateHashDistribution

the hash of the closed list, remixed with a seed

A uniform distribution for any Domain, with no feature to define; it behaves as Zobrist hashing, but its value cannot be updated incrementally.

Public Functions

inline explicit StateHashDistribution(const D &domain, std::uint64_t seed = 1)
inline unsigned owner(const state_t<D> &s, unsigned p) const

Public Static Functions

static inline std::string name(void)