16 #ifndef __MLPACK_CORE_TREE_RECTANGLE_TREE_DUAL_TREE_TRAVERSER_HPP 17 #define __MLPACK_CORE_TREE_RECTANGLE_TREE_DUAL_TREE_TRAVERSER_HPP 26 template<
typename MetricType,
27 typename StatisticType,
31 template<
typename RuleType>
111 #include "dual_tree_traverser_impl.hpp" RuleType & rule
Reference to the rules with which the trees will be traversed.
size_t & NumScores()
Modify the number of times a node combination was scored.
Linear algebra utility functions, generally performed on matrices or vectors.
size_t & NumPrunes()
Modify the number of prunes.
size_t & NumBaseCases()
Modify the number of times a base case was calculated.
size_t numVisited
The number of node combinations that have been visited during traversal.
size_t NumBaseCases() const
Get the number of times a base case was calculated.
RuleType::TraversalInfoType traversalInfo
Traversal information, held in the class so that it isn't continually being reallocated.
static bool nodeComparator(const NodeAndScore &obj1, const NodeAndScore &obj2)
A rectangle type tree tree, such as an R-tree or X-tree.
size_t NumPrunes() const
Get the number of prunes.
size_t NumVisited() const
Get the number of visited combinations.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
RuleType::TraversalInfoType travInfo
size_t numBaseCases
The number of times a base case was calculated.
size_t numScores
The number of times a node combination was scored.
A dual tree traverser for rectangle type trees.
size_t NumScores() const
Get the number of times a node combination was scored.
size_t & NumVisited()
Modify the number of visited combinations.
size_t numPrunes
The number of prunes.