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 435 of file NearestNeighborsGNAT.h.

Constructor & Destructor Documentation

◆ Node()

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

Definition at line 440 of file NearestNeighborsGNAT.h.

◆ ~Node()

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

Definition at line 452 of file NearestNeighborsGNAT.h.

Member Function Documentation

◆ add()

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

Definition at line 488 of file NearestNeighborsGNAT.h.

◆ insertNeighborK()

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 580 of file NearestNeighborsGNAT.h.

◆ insertNeighborR()

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 650 of file NearestNeighborsGNAT.h.

◆ list()

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

Definition at line 697 of file NearestNeighborsGNAT.h.

◆ nearestK()

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 601 of file NearestNeighborsGNAT.h.

◆ nearestR()

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 658 of file NearestNeighborsGNAT.h.

◆ needToSplit()

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

Definition at line 526 of file NearestNeighborsGNAT.h.

◆ split()

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

Definition at line 534 of file NearestNeighborsGNAT.h.

◆ updateRadius()

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

Definition at line 460 of file NearestNeighborsGNAT.h.

◆ updateRange()

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

Definition at line 480 of file NearestNeighborsGNAT.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 708 of file NearestNeighborsGNAT.h.

Member Data Documentation

◆ children_

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

Definition at line 752 of file NearestNeighborsGNAT.h.

◆ data_

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

Definition at line 749 of file NearestNeighborsGNAT.h.

◆ degree_

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

Definition at line 734 of file NearestNeighborsGNAT.h.

◆ maxRadius_

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

Definition at line 740 of file NearestNeighborsGNAT.h.

◆ maxRange_

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

Definition at line 746 of file NearestNeighborsGNAT.h.

◆ minRadius_

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

Definition at line 738 of file NearestNeighborsGNAT.h.

◆ minRange_

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

Definition at line 743 of file NearestNeighborsGNAT.h.

◆ pivot_

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

Definition at line 736 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 Fri May 3 2024 02:29:33