23 #ifndef SPATIAL_POINT_MULTISET_HPP
24 #define SPATIAL_POINT_MULTISET_HPP
27 #include "function.hpp"
28 #include "bits/spatial_relaxed_kdtree.hpp"
34 typename Compare = bracket_less<Key>,
35 typename BalancingPolicy = loose_balancing,
36 typename Alloc = std::allocator<Key> >
39 Compare, BalancingPolicy, Alloc>
51 : base_type(details::Static_rank<Rank>(), compare)
55 : base_type(details::Static_rank<Rank>(), compare, balancing)
60 : base_type(details::Static_rank<Rank>(), compare, balancing, alloc)
82 template<
typename Key,
typename Compare,
typename BalancingPolicy,
86 Compare, BalancingPolicy, Alloc>
97 : base_type(details::Dynamic_rank(dim))
101 : base_type(details::Dynamic_rank(dim), compare)
105 const BalancingPolicy& policy)
106 : base_type(details::Dynamic_rank(dim), compare, policy)
110 const BalancingPolicy& policy,
const Alloc& alloc)
111 : base_type(details::Dynamic_rank(dim), compare, policy, alloc)
115 : base_type(details::Dynamic_rank(), compare)
119 : base_type(details::Dynamic_rank(), compare, policy)
124 : base_type(details::Dynamic_rank(), compare, policy, alloc)
138 #endif // SPATIAL_POINT_MULTISET_HPP
Relaxed_kdtree & operator=(const Relaxed_kdtree &other)
Assignment of other into the tree, with deep copy.
point_multiset(const point_multiset &other)
Detailed implementation of the kd-tree.
Specialization for spatial::point_multiset with runtime rank support.
The dimension value is stored by a member of the object, but can be modified at run time...
point_multiset(dimension_type dim, const Compare &compare, const BalancingPolicy &policy, const Alloc &alloc)
point_multiset(dimension_type dim, const Compare &compare)
point_multiset< 0, Key, Compare, BalancingPolicy, Alloc > Self
details::Relaxed_kdtree< details::Static_rank< Rank >, const Key, const Key, Compare, BalancingPolicy, Alloc > base_type
point_multiset(const Compare &compare)
details::Relaxed_kdtree< details::Dynamic_rank, const Key, const Key, Compare, BalancingPolicy, Alloc > base_type
point_multiset(const Compare &compare, const BalancingPolicy &policy)
point_multiset(const Compare &compare, const BalancingPolicy &balancing)
void check_rank(dimension_type rank)
Checks that rank is not null.
balancing_policy balancing() const
Returns the balancing policy for the container.
point_multiset & operator=(const point_multiset &other)
std::size_t dimension_type
Defines the type for the dimension as being a size.
point_multiset(const Compare &compare)
point_multiset(const Compare &compare, const BalancingPolicy &balancing, const Alloc &alloc)
point_multiset(dimension_type dim)
The main namespace used in the library.
point_multiset(const point_multiset &other)
point_multiset & operator=(const point_multiset &other)
point_multiset(const Compare &compare, const BalancingPolicy &policy, const Alloc &alloc)
point_multiset(dimension_type dim, const Compare &compare, const BalancingPolicy &policy)
point_multiset< Rank, Key, Compare, BalancingPolicy, Alloc > Self