mlpack
|
A single-tree traverser for binary space trees; see single_tree_traverser.hpp for implementation. More...
#include <binary_space_tree.hpp>
Public Member Functions | |
SingleTreeTraverser (RuleType &rule) | |
Instantiate the single tree traverser with the given rule set. | |
void | Traverse (const size_t queryIndex, BinarySpaceTree &referenceNode) |
Traverse the tree with the given point. More... | |
size_t | NumPrunes () const |
Get the number of prunes. | |
size_t & | NumPrunes () |
Modify the number of prunes. | |
A single-tree traverser for binary space trees; see single_tree_traverser.hpp for implementation.
void mlpack::tree::BinarySpaceTree< MetricType, StatisticType, MatType, BoundType, SplitType >::SingleTreeTraverser< RuleType >::Traverse | ( | const size_t | queryIndex, |
BinarySpaceTree & | referenceNode | ||
) |
Traverse the tree with the given point.
queryIndex | The index of the point in the query set which is being used as the query point. |
referenceNode | The tree node to be traversed. |