class for kd-tree node. More...
Public Member Functions | |
KdNode (void) | |
void | reset (void) |
Public Attributes | |
T1 | label |
int | lchild_ |
T * | object_ |
int | rchild_ |
class for kd-tree node.
Store the informatino of a node in kd-tree data structure.
Template parameters are:
Template parameters can be any type fulfilling the following requirements:
Definition at line 60 of file SortAlgorithms.hpp.
bitpit::KdNode< T, T1 >::KdNode | ( | void | ) |
Default constructor for class KdNode. Initialize an empty node in the kd-tree.
Definition at line 69 of file KdTree.tpp.
void bitpit::KdNode< T, T1 >::reset | ( | void | ) |
Default destructor for class KdNode. Clear KdNode content and release memory.
Definition at line 98 of file KdTree.tpp.
T1 bitpit::KdNode< T, T1 >::label |
label
Definition at line 67 of file SortAlgorithms.hpp.
int bitpit::KdNode< T, T1 >::lchild_ |
pointer to left child
Definition at line 64 of file SortAlgorithms.hpp.
T* bitpit::KdNode< T, T1 >::object_ |
pointer to object
Definition at line 66 of file SortAlgorithms.hpp.
int bitpit::KdNode< T, T1 >::rchild_ |
pointer to left child
Definition at line 65 of file SortAlgorithms.hpp.