Public Attributes | |
TreeSt * | child1 |
TreeSt * | child2 |
int | divfeat |
DIST_TYPE | divval |
A node of the binary k-d tree.
This is All nodes that have vec[divfeat] < divval are placed in the child1 subtree, else child2., A leaf node is indicated if both children are NULL.
Definition at line 132 of file kdtree_index.h.
TreeSt* cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::child1 |
The child nodes.
Definition at line 146 of file kdtree_index.h.
TreeSt * cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::child2 |
Definition at line 146 of file kdtree_index.h.
int cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::divfeat |
Index of the vector feature used for subdivision. If this is a leaf node (both children are NULL) then this holds vector index for this leaf.
Definition at line 138 of file kdtree_index.h.
DIST_TYPE cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::divval |
The value used for subdivision.
Definition at line 142 of file kdtree_index.h.