mlpack
|
A single-tree traverser; see single_tree_traverser.hpp. More...
#include <octree.hpp>
Public Member Functions | |
SingleTreeTraverser (RuleType &rule) | |
Instantiate the traverser with the given rule set. | |
void | Traverse (const size_t queryIndex, Octree &referenceNode) |
Traverse the reference tree with the given query point. More... | |
size_t | NumPrunes () const |
Get the number of pruned nodes. | |
size_t & | NumPrunes () |
Modify the number of pruned nodes. | |
A single-tree traverser; see single_tree_traverser.hpp.
void mlpack::tree::Octree< MetricType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::Traverse | ( | const size_t | queryIndex, |
Octree & | referenceNode | ||
) |
Traverse the reference tree with the given query point.
This does not reset the number of pruned nodes.
queryIndex | Index of query point. |
referenceNode | Node in reference tree. |