Implementation of a spatial hash for N dimensional states. More...
#include <bitset>
#include <cmath>
#include <cstdint>
#include <limits>
#include <tuple>
#include <type_traits>
#include <utility>
#include <sophus/se2.hpp>
Go to the source code of this file.
Classes | |
struct | beluga::spatial_hash< T, Enable > |
Callable class, allowing to calculate the hash of a particle state. More... | |
class | beluga::spatial_hash< Sophus::SE2d, void > |
class | beluga::spatial_hash< std::array< T, N >, std::enable_if_t< std::is_arithmetic_v< T >, void > > |
Specialization for arrays. More... | |
class | beluga::spatial_hash< Tuple< Types... >, std::enable_if_t<(std::is_arithmetic_v< Types > &&...), void > > |
Specialization for tuples. More... | |
Namespaces | |
beluga | |
The main Beluga namespace. | |
beluga::detail | |
Functions | |
template<std::size_t N, std::size_t I> | |
constexpr std::size_t | beluga::detail::floor_and_fibo_hash (double value) |
Returns the hashed and rotated floor of a value. More... | |
template<class T , std::size_t... Ids> | |
constexpr std::size_t | beluga::detail::hash_impl (const T &value, const std::array< double, sizeof...(Ids)> &resolution, [[maybe_unused]] std::index_sequence< Ids... > index_sequence) |
Implementation of a spatial hash for N dimensional states.
Definition in file spatial_hash.hpp.