Public Member Functions | Public Attributes | Friends | List of all members
cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node Class Reference

#include <NearestNeighborsGNAT.h>

Public Member Functions

void add (GNAT &gnat, const _T &data)
 
bool insertNeighborK (NearQueue &nbh, std::size_t k, const _T &data, const _T &key, double dist) const
 
void insertNeighborR (NearQueue &nbh, double r, const _T &data, double dist) const
 
void list (const GNAT &gnat, std::vector< _T > &data) const
 
void nearestK (const GNAT &gnat, const _T &data, std::size_t k, NearQueue &nbh, NodeQueue &nodeQueue, bool &isPivot) const
 
void nearestR (const GNAT &gnat, const _T &data, double r, NearQueue &nbh, NodeQueue &nodeQueue) const
 
bool needToSplit (const GNAT &gnat) const
 
 Node (int degree, int capacity, _T pivot)
 
void split (GNAT &gnat)
 
void updateRadius (double dist)
 
void updateRange (unsigned int i, double dist)
 
 ~Node ()
 

Public Attributes

std::vector< Node * > children_
 
std::vector< _T > data_
 
unsigned int degree_
 
double maxRadius_
 
std::vector< double > maxRange_
 
double minRadius_
 
std::vector< double > minRange_
 
const _T pivot_
 

Friends

std::ostream & operator<< (std::ostream &out, const Node &node)
 

Detailed Description

template<typename _T>
class cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node

Definition at line 372 of file NearestNeighborsGNAT.h.

Constructor & Destructor Documentation

template<typename _T>
cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::Node ( int  degree,
int  capacity,
_T  pivot 
)
inline

Definition at line 377 of file NearestNeighborsGNAT.h.

template<typename _T>
cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::~Node ( )
inline

Definition at line 389 of file NearestNeighborsGNAT.h.

Member Function Documentation

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::add ( GNAT gnat,
const _T &  data 
)
inline

Definition at line 425 of file NearestNeighborsGNAT.h.

template<typename _T>
bool cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::insertNeighborK ( NearQueue &  nbh,
std::size_t  k,
const _T &  data,
const _T &  key,
double  dist 
) const
inline

Definition at line 517 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::insertNeighborR ( NearQueue &  nbh,
double  r,
const _T &  data,
double  dist 
) const
inline

Definition at line 587 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::list ( const GNAT gnat,
std::vector< _T > &  data 
) const
inline

Definition at line 633 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::nearestK ( const GNAT gnat,
const _T &  data,
std::size_t  k,
NearQueue &  nbh,
NodeQueue &  nodeQueue,
bool &  isPivot 
) const
inline

Definition at line 538 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::nearestR ( const GNAT gnat,
const _T &  data,
double  r,
NearQueue &  nbh,
NodeQueue &  nodeQueue 
) const
inline

Definition at line 595 of file NearestNeighborsGNAT.h.

template<typename _T>
bool cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::needToSplit ( const GNAT gnat) const
inline

Definition at line 463 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::split ( GNAT gnat)
inline

Definition at line 471 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::updateRadius ( double  dist)
inline

Definition at line 397 of file NearestNeighborsGNAT.h.

template<typename _T>
void cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::updateRange ( unsigned int  i,
double  dist 
)
inline

Definition at line 417 of file NearestNeighborsGNAT.h.

Friends And Related Function Documentation

template<typename _T>
std::ostream& operator<< ( std::ostream &  out,
const Node node 
)
friend

Definition at line 644 of file NearestNeighborsGNAT.h.

Member Data Documentation

template<typename _T>
std::vector<Node*> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::children_

Definition at line 688 of file NearestNeighborsGNAT.h.

template<typename _T>
std::vector<_T> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::data_

Definition at line 685 of file NearestNeighborsGNAT.h.

template<typename _T>
unsigned int cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::degree_

Definition at line 670 of file NearestNeighborsGNAT.h.

template<typename _T>
double cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::maxRadius_

Definition at line 676 of file NearestNeighborsGNAT.h.

template<typename _T>
std::vector<double> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::maxRange_

Definition at line 682 of file NearestNeighborsGNAT.h.

template<typename _T>
double cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::minRadius_

Definition at line 674 of file NearestNeighborsGNAT.h.

template<typename _T>
std::vector<double> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::minRange_

Definition at line 679 of file NearestNeighborsGNAT.h.

template<typename _T>
const _T cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::pivot_

Definition at line 672 of file NearestNeighborsGNAT.h.


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


moveit_kinematics
Author(s): Dave Coleman , Ioan Sucan , Sachin Chitta
autogenerated on Sun Sep 15 2019 03:58:37