23 #ifndef SPATIAL_IDLE_POINT_MULTISET_HPP
24 #define SPATIAL_IDLE_POINT_MULTISET_HPP
27 #include "function.hpp"
28 #include "bits/spatial_kdtree.hpp"
34 typename Compare = bracket_less<Key>,
35 typename Alloc = std::allocator<Key> >
38 const Key, const Key, Compare, Alloc>
49 : base_type(details::Static_rank<Rank>(), compare)
53 : base_type(details::Static_rank<Rank>(), compare, alloc)
57 : base_type(other, balancing)
79 template<
typename Key,
typename Compare,
typename Alloc>
93 : base_type(details::Dynamic_rank(dim))
97 : base_type(details::Dynamic_rank(dim), compare)
106 : base_type(details::Dynamic_rank(dim), compare, alloc)
110 : base_type(details::Dynamic_rank(), compare, alloc)
114 : base_type(other, balancing)
126 #endif // SPATIAL_IDLE_POINT_MULTISET_HPP
The dimension value is stored by a member of the object, but can be modified at run time...
idle_point_multiset(dimension_type dim)
idle_point_multiset(const Compare &compare, const Alloc &alloc)
details::Kdtree< details::Dynamic_rank, const Key, const Key, Compare, Alloc > base_type
Specialization for spatial::idle_point_multiset with runtime rank support.
idle_point_multiset(dimension_type dim, const Compare &compare)
idle_point_multiset(dimension_type dim, const Compare &compare, const Alloc &alloc)
void check_rank(dimension_type rank)
Checks that rank is not null.
idle_point_multiset< Rank, Key, Compare, Alloc > Self
idle_point_multiset(const Compare &compare)
idle_point_multiset< 0, Key, Compare, Alloc > Self
std::size_t dimension_type
Defines the type for the dimension as being a size.
idle_point_multiset & operator=(const idle_point_multiset &other)
The main namespace used in the library.
Detailed implementation of the kd-tree.
idle_point_multiset & operator=(const idle_point_multiset &other)
idle_point_multiset(const idle_point_multiset &other, bool balancing=false)
idle_point_multiset(const Compare &compare, const Alloc &alloc)
idle_point_multiset(const idle_point_multiset &other, bool balancing=false)
Self & operator=(const Self &other)
Assignment of other into the tree, with deep copy.
idle_point_multiset(const Compare &compare)
details::Kdtree< details::Static_rank< Rank >, const Key, const Key, Compare, Alloc > base_type