Classes | Namespaces | Functions
spatial_hash.hpp File Reference

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>
Include dependency graph for spatial_hash.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Implementation of a spatial hash for N dimensional states.

Definition in file spatial_hash.hpp.



beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:53