Robotics Library  0.7.0
Public Member Functions | Public Attributes | Friends | List of all members
rl::math::GnatNearestNeighbors< MetricT >::Node Struct Reference

Public Member Functions

 Node (const ::std::size_t &index, const ::std::size_t &siblings, const ::std::size_t &degree, const ::std::size_t &capacity, const bool &removed=false)
 
template<typename InputIterator >
 Node (InputIterator first, InputIterator last, const ::std::size_t &index, const ::std::size_t &siblings, const ::std::size_t &degree, const ::std::size_t &capacity, const bool &removed=false)
 
 ~Node ()
 
void swap (Node &other)
 

Public Attributes

::std::vector< Nodechildren
 
::std::vector< Valuedata
 
::std::size_t degree
 
::std::size_t index
 
::std::vector< Distancemax
 
::std::vector< Distancemin
 
Value pivot
 
bool removed
 

Friends

void swap (Node &lhs, Node &rhs)
 

Constructor & Destructor Documentation

◆ Node() [1/2]

template<typename MetricT >
rl::math::GnatNearestNeighbors< MetricT >::Node::Node ( const ::std::size_t &  index,
const ::std::size_t &  siblings,
const ::std::size_t &  degree,
const ::std::size_t &  capacity,
const bool &  removed = false 
)
inline

◆ Node() [2/2]

template<typename MetricT >
template<typename InputIterator >
rl::math::GnatNearestNeighbors< MetricT >::Node::Node ( InputIterator  first,
InputIterator  last,
const ::std::size_t &  index,
const ::std::size_t &  siblings,
const ::std::size_t &  degree,
const ::std::size_t &  capacity,
const bool &  removed = false 
)
inline

◆ ~Node()

template<typename MetricT >
rl::math::GnatNearestNeighbors< MetricT >::Node::~Node ( )
inline

Member Function Documentation

◆ swap()

template<typename MetricT >
void rl::math::GnatNearestNeighbors< MetricT >::Node::swap ( Node other)
inline

Friends And Related Function Documentation

◆ swap

template<typename MetricT >
void swap ( Node lhs,
Node rhs 
)
friend

Member Data Documentation

◆ children

template<typename MetricT >
::std::vector<Node> rl::math::GnatNearestNeighbors< MetricT >::Node::children

◆ data

template<typename MetricT >
::std::vector<Value> rl::math::GnatNearestNeighbors< MetricT >::Node::data

◆ degree

template<typename MetricT >
::std::size_t rl::math::GnatNearestNeighbors< MetricT >::Node::degree

◆ index

template<typename MetricT >
::std::size_t rl::math::GnatNearestNeighbors< MetricT >::Node::index

◆ max

template<typename MetricT >
::std::vector<Distance> rl::math::GnatNearestNeighbors< MetricT >::Node::max

◆ min

template<typename MetricT >
::std::vector<Distance> rl::math::GnatNearestNeighbors< MetricT >::Node::min

◆ pivot

template<typename MetricT >
Value rl::math::GnatNearestNeighbors< MetricT >::Node::pivot

◆ removed

template<typename MetricT >
bool rl::math::GnatNearestNeighbors< MetricT >::Node::removed

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