A single-tree traverser for binary space trees; see single_tree_traverser.hpp for implementation.
SingleTreeTraverser (RuleType &rule)
Instantiate the single tree traverser with the given rule set. size_t NumPrunes () const
Get the number of prunes. size_t & NumPrunes ()
Modify the number of prunes. void Traverse (const size_t queryIndex, BinarySpaceTree &referenceNode)
Traverse the tree with the given point.
size_t numPrunes
The number of nodes which have been pruned during traversal. RuleType & rule
Reference to the rules with which the tree will be traversed.
A single-tree traverser for binary space trees; see single_tree_traverser.hpp for implementation.
Definition at line 99 of file binary_space_tree.hpp.
Instantiate the single tree traverser with the given rule set.
Get the number of prunes.
Definition at line 58 of file single_tree_traverser.hpp.
Modify the number of prunes.
Definition at line 60 of file single_tree_traverser.hpp.
Traverse the tree with the given point.
Parameters:
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.
The number of nodes which have been pruned during traversal.
Definition at line 67 of file single_tree_traverser.hpp.
Reference to the rules with which the tree will be traversed.
Definition at line 64 of file single_tree_traverser.hpp.
Generated automatically by Doxygen for MLPACK from the source code.