moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
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 377 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 382 of file NearestNeighborsGNAT.h.

◆ ~Node()

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

Definition at line 394 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 430 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 531 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 609 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 664 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 552 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 617 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 472 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 480 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 402 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 422 of file NearestNeighborsGNAT.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator<<

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

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

◆ data_

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

Definition at line 718 of file NearestNeighborsGNAT.h.

◆ degree_

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

Definition at line 703 of file NearestNeighborsGNAT.h.

◆ maxRadius_

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

Definition at line 709 of file NearestNeighborsGNAT.h.

◆ maxRange_

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

Definition at line 715 of file NearestNeighborsGNAT.h.

◆ minRadius_

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

Definition at line 707 of file NearestNeighborsGNAT.h.

◆ minRange_

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

Definition at line 712 of file NearestNeighborsGNAT.h.

◆ pivot_

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

Definition at line 705 of file NearestNeighborsGNAT.h.


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