Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::index::quadratic< MaxElements, MinElements > Struct Template Reference

Quadratic r-tree creation algorithm parameters. More...

#include <parameters.hpp>

Collaboration diagram for boost::geometry::index::quadratic< MaxElements, MinElements >:

Public Member Functions

 BOOST_MPL_ASSERT_MSG ((0< MinElements &&2 *MinElements<=MaxElements+1), INVALID_STATIC_MIN_MAX_PARAMETERS,(quadratic))
 

Static Public Member Functions

static size_t get_max_elements ()
 
static size_t get_min_elements ()
 

Static Public Attributes

static const size_t max_elements = MaxElements
 
static const size_t min_elements = MinElements
 

Detailed Description

template<size_t MaxElements, size_t MinElements = detail::default_min_elements_s<MaxElements>::value>
struct boost::geometry::index::quadratic< MaxElements, MinElements >

Quadratic r-tree creation algorithm parameters.

Template Parameters
MaxElementsMaximum number of elements in nodes.
MinElementsMinimum number of elements in nodes. Default: 0.3*Max.

Member Function Documentation

template<size_t MaxElements, size_t MinElements = detail::default_min_elements_s<MaxElements>::value>
boost::geometry::index::quadratic< MaxElements, MinElements >::BOOST_MPL_ASSERT_MSG ( (0< MinElements &&2 *MinElements<=MaxElements+1)  ,
INVALID_STATIC_MIN_MAX_PARAMETERS  ,
(quadratic< MaxElements, MinElements >)   
)
template<size_t MaxElements, size_t MinElements = detail::default_min_elements_s<MaxElements>::value>
static size_t boost::geometry::index::quadratic< MaxElements, MinElements >::get_max_elements ( )
inlinestatic
template<size_t MaxElements, size_t MinElements = detail::default_min_elements_s<MaxElements>::value>
static size_t boost::geometry::index::quadratic< MaxElements, MinElements >::get_min_elements ( )
inlinestatic

Member Data Documentation

template<size_t MaxElements, size_t MinElements = detail::default_min_elements_s<MaxElements>::value>
const size_t boost::geometry::index::quadratic< MaxElements, MinElements >::max_elements = MaxElements
static
template<size_t MaxElements, size_t MinElements = detail::default_min_elements_s<MaxElements>::value>
const size_t boost::geometry::index::quadratic< MaxElements, MinElements >::min_elements = MinElements
static

The documentation for this struct was generated from the following file: