![]() |
fpmas 1.6
|
#include <grid.h>
Public Member Functions | |
std::size_t | operator() (const DiscretePoint &p) const |
DiscretePoint hash function, inspired from boost::hash_combine.
std::size_t fpmas::model::PointHash::operator() | ( | const DiscretePoint & | p | ) | const |
Computes an hash value for p
using the following method:
This comes directly from the boost::hash_combine method.
p | discrete point to hash |
p