2014-11-28 06:13:18 -05:00
|
|
|
#ifndef HILBERT_VALUE_HPP
|
|
|
|
#define HILBERT_VALUE_HPP
|
2013-06-26 09:43:13 -04:00
|
|
|
|
2016-01-21 07:07:24 -05:00
|
|
|
#include "osrm/coordinate.hpp"
|
|
|
|
|
2014-05-07 08:47:23 -04:00
|
|
|
#include <cstdint>
|
2013-06-26 09:43:13 -04:00
|
|
|
|
2016-01-05 10:51:13 -05:00
|
|
|
namespace osrm
|
|
|
|
{
|
|
|
|
namespace util
|
|
|
|
{
|
|
|
|
|
2016-01-25 09:32:41 -05:00
|
|
|
// Computes a 64 bit value that corresponds to the hilbert space filling curve
|
2016-02-23 15:23:13 -05:00
|
|
|
std::uint64_t hilbertCode(const Coordinate coordinate);
|
2016-01-05 10:51:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-28 06:13:18 -05:00
|
|
|
#endif /* HILBERT_VALUE_HPP */
|