...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
R*-tree creation algorithm parameters.
#include <boost/geometry/index/parameters.hpp>
template<
size_t MaxElements
,
size_t MinElements
= default,
size_t ReinsertedElements
= default,
size_t OverlapCostThreshold
=32
>
struct rstar
{
// ...
};
Parameter |
Description |
---|---|
|
Maximum number of elements in nodes. |
|
Minimum number of elements in nodes. Default: 0.3*Max. |
|
The number of elements reinserted by forced reinsertions algorithm. If 0 forced reinsertions are disabled. Maximum value is Max+1-Min. Greater values are truncated. Default: 0.3*Max. |
|
The number of most suitable leafs taken into account while choosing the leaf node to which currently inserted value will be added. If value is in range (0, MaxElements) - the algorithm calculates nearly minimum overlap cost, otherwise all leafs are analyzed and true minimum overlap cost is calculated. Default: 32. |