14 #ifndef MLPACK_CORE_TREE_COVER_TREE_SINGLE_TREE_TRAVERSER_HPP    15 #define MLPACK_CORE_TREE_COVER_TREE_SINGLE_TREE_TRAVERSER_HPP    26     typename StatisticType,
    28     typename RootPointPolicy
    30 template<
typename RuleType>
    31 class CoverTree<MetricType, StatisticType, MatType, RootPointPolicy>::
    38   SingleTreeTraverser(RuleType& rule);
    47   void Traverse(
const size_t queryIndex, 
CoverTree& referenceNode);
    66 #include "single_tree_traverser_impl.hpp" CoverTree()
A default constructor. 
 
Linear algebra utility functions, generally performed on matrices or vectors. 
 
The core includes that mlpack expects; standard C++ includes and Armadillo. 
 
size_t & NumPrunes()
Set the number of prunes (good for a reset to 0). 
 
RuleType & rule
Reference to the rules with which the tree will be traversed. 
 
size_t numPrunes
The number of nodes which have been pruned during traversal. 
 
size_t NumPrunes() const 
Get the number of prunes so far.