12 #ifndef MLPACK_CORE_TREE_OCTREE_DUAL_TREE_TRAVERSER_HPP 13 #define MLPACK_CORE_TREE_OCTREE_DUAL_TREE_TRAVERSER_HPP 21 template<
typename MetricType,
22 typename StatisticType,
24 template<
typename RuleType>
74 typename RuleType::TraversalInfoType traversalInfo;
size_t & NumPrunes()
Modify the number of pruned nodes (i.e. to reset it).
Definition: dual_tree_traverser.hpp:42
A dual-tree traverser; see dual_tree_traverser.hpp.
Definition: dual_tree_traverser.hpp:25
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t NumScores() const
Get the number of times a node was scored.
Definition: dual_tree_traverser.hpp:50
size_t & NumScores()
Modify the number of times a node was scored.
Definition: dual_tree_traverser.hpp:52
size_t & NumVistied()
Modify the number of visited node combinations.
Definition: dual_tree_traverser.hpp:47
size_t NumPrunes() const
Get the number of pruned nodes.
Definition: dual_tree_traverser.hpp:40
size_t NumVisited() const
Get the number of visited node combinations.
Definition: dual_tree_traverser.hpp:45
Definition: octree.hpp:25
size_t & NumBaseCases()
Modify the number of times a base case was computed.
Definition: dual_tree_traverser.hpp:57
size_t NumBaseCases() const
Get the number of times a base case was computed.
Definition: dual_tree_traverser.hpp:55