15 #ifndef MLPACK_CORE_TREE_BINARY_SPACE_TREE_BF_DUAL_TREE_TRAVERSER_HPP 16 #define MLPACK_CORE_TREE_BINARY_SPACE_TREE_BF_DUAL_TREE_TRAVERSER_HPP 21 #include "../binary_space_tree.hpp" 26 template<
typename TreeType,
typename TraversalInfoType>
36 template<
typename MetricType,
37 typename StatisticType,
39 template<
typename BoundMetricType,
typename...>
class BoundType,
40 template<
typename SplitBoundType,
typename SplitMatType>
42 template<
typename RuleType>
44 SplitType>::BreadthFirstDualTreeTraverser
50 BreadthFirstDualTreeTraverser(RuleType& rule);
64 std::priority_queue<QueueFrameType>& referenceQueue);
111 #include "breadth_first_dual_tree_traverser_impl.hpp" 113 #endif // MLPACK_CORE_TREE_BINARY_SPACE_TREE_BF_DUAL_TREE_TRAVERSER_HPP QueueFrame< BinarySpaceTree, typename RuleType::TraversalInfoType > QueueFrameType
Linear algebra utility functions, generally performed on matrices or vectors.
TraversalInfoType traversalInfo
The core includes that mlpack expects; standard C++ includes and Armadillo.
A binary space partitioning tree, such as a KD-tree or a ball tree.
size_t NumPrunes() const
Get the number of prunes.
size_t & NumScores()
Modify the number of times a node combination was scored.
size_t & NumPrunes()
Modify the number of prunes.
size_t & NumVisited()
Modify the number of visited combinations.
size_t & NumBaseCases()
Modify the number of times a base case was calculated.
size_t NumScores() const
Get the number of times a node combination was scored.
size_t NumVisited() const
Get the number of visited combinations.
size_t NumBaseCases() const
Get the number of times a base case was calculated.