#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) |
Definition at line 435 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 440 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 452 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 488 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 580 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 650 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 697 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 601 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 658 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 526 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 534 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 460 of file NearestNeighborsGNAT.h.
|
inline |
Definition at line 480 of file NearestNeighborsGNAT.h.
|
friend |
Definition at line 708 of file NearestNeighborsGNAT.h.
std::vector<Node*> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::children_ |
Definition at line 752 of file NearestNeighborsGNAT.h.
std::vector<_T> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::data_ |
Definition at line 749 of file NearestNeighborsGNAT.h.
unsigned int cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::degree_ |
Definition at line 734 of file NearestNeighborsGNAT.h.
double cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::maxRadius_ |
Definition at line 740 of file NearestNeighborsGNAT.h.
std::vector<double> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::maxRange_ |
Definition at line 746 of file NearestNeighborsGNAT.h.
double cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::minRadius_ |
Definition at line 738 of file NearestNeighborsGNAT.h.
std::vector<double> cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::minRange_ |
Definition at line 743 of file NearestNeighborsGNAT.h.
const _T cached_ik_kinematics_plugin::NearestNeighborsGNAT< _T >::Node::pivot_ |
Definition at line 736 of file NearestNeighborsGNAT.h.