moveit2
The MoveIt Motion Planning Framework for ROS 2.
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

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

Public Attributes

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

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

◆ Node()

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.

Here is the caller graph for this function:

◆ ~Node()

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

Definition at line 389 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 425 of file NearestNeighborsGNAT.h.

Here is the call graph for this function:
Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the call graph for this function:
Here is the caller graph for this function:

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

Here is the call graph for this function:
Here is the caller graph for this function:

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ needToSplit()

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.

Here is the caller graph for this function:

◆ split()

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

Definition at line 471 of file NearestNeighborsGNAT.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateRadius()

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

Definition at line 397 of file NearestNeighborsGNAT.h.

Here is the caller graph for this function:

◆ updateRange()

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.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 645 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 689 of file NearestNeighborsGNAT.h.

◆ data_

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

Definition at line 686 of file NearestNeighborsGNAT.h.

◆ degree_

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

Definition at line 671 of file NearestNeighborsGNAT.h.

◆ maxRadius_

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

Definition at line 677 of file NearestNeighborsGNAT.h.

◆ maxRange_

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

Definition at line 683 of file NearestNeighborsGNAT.h.

◆ minRadius_

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

Definition at line 675 of file NearestNeighborsGNAT.h.

◆ minRange_

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

Definition at line 680 of file NearestNeighborsGNAT.h.

◆ pivot_

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

Definition at line 673 of file NearestNeighborsGNAT.h.


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