Public Member Functions | |
| SingleTreeTraverser (RuleType &rule) | |
| Instantiate the single tree traverser with the given rule set. | |
| size_t & | NumPrunes () |
| Modify the number of prunes. | |
| size_t | NumPrunes () const |
| Get the number of prunes. | |
| void | Traverse (const size_t queryIndex, BinarySpaceTree &referenceNode) |
| Traverse the tree with the given point. | |
Private Attributes | |
| 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. | |
Definition at line 36 of file single_tree_traverser.hpp.
| mlpack::tree::BinarySpaceTree< BoundType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::SingleTreeTraverser | ( | RuleType & | rule | ) |
Instantiate the single tree traverser with the given rule set.
| size_t& mlpack::tree::BinarySpaceTree< BoundType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::NumPrunes | ( | ) | [inline] |
Modify the number of prunes.
Definition at line 56 of file single_tree_traverser.hpp.
| size_t mlpack::tree::BinarySpaceTree< BoundType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::NumPrunes | ( | ) | const [inline] |
Get the number of prunes.
Definition at line 54 of file single_tree_traverser.hpp.
| void mlpack::tree::BinarySpaceTree< BoundType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::Traverse | ( | const size_t | queryIndex, | |
| BinarySpaceTree & | referenceNode | |||
| ) |
size_t mlpack::tree::BinarySpaceTree< BoundType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::numPrunes [private] |
The number of nodes which have been pruned during traversal.
Definition at line 63 of file single_tree_traverser.hpp.
RuleType& mlpack::tree::BinarySpaceTree< BoundType, StatisticType, MatType >::SingleTreeTraverser< RuleType >::rule [private] |
Reference to the rules with which the tree will be traversed.
Definition at line 60 of file single_tree_traverser.hpp.
1.6.1