mlpack
|
A single traverser for rectangle type trees. More...
#include <rectangle_tree.hpp>
Public Member Functions | |
SingleTreeTraverser (RuleType &rule) | |
Instantiate the traverser with the given rule set. | |
void | Traverse (const size_t queryIndex, const RectangleTree &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 traverser for rectangle type trees.
See single_tree_traverser.hpp for implementation.
void mlpack::tree::RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType, AuxiliaryInformationType >::SingleTreeTraverser< RuleType >::Traverse | ( | const size_t | queryIndex, |
const RectangleTree & | 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. |