16 #ifndef __MLPACK_CORE_TREE_BINARY_SPACE_TREE_SINGLE_TREE_TRAVERSER_HPP 17 #define __MLPACK_CORE_TREE_BINARY_SPACE_TREE_SINGLE_TREE_TRAVERSER_HPP 26 template<
typename MetricType,
27 typename StatisticType,
29 template<
typename BoundMetricType>
class BoundType,
30 template<
typename SplitBoundType,
typename SplitMatType>
32 template<
typename RuleType>
33 class BinarySpaceTree<MetricType, StatisticType, MatType, BoundType,
34 SplitType>::SingleTreeTraverser
40 SingleTreeTraverser(RuleType& rule);
68 #include "single_tree_traverser_impl.hpp" RuleType & rule
Reference to the rules with which the tree will be traversed.
Linear algebra utility functions, generally performed on matrices or vectors.
size_t NumPrunes() const
Get the number of prunes.
size_t numPrunes
The number of nodes which have been pruned during traversal.
BinarySpaceTree()
A default constructor.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
size_t & NumPrunes()
Modify the number of prunes.