13 #ifndef MLPACK_METHODS_RANGE_SEARCH_RANGE_SEARCH_STAT_HPP 14 #define MLPACK_METHODS_RANGE_SEARCH_RANGE_SEARCH_STAT_HPP 38 template<
typename TreeType>
48 template<
typename Archive>
51 ar(CEREAL_NVP(lastDistance));
double & LastDistance()
Modify the last distance evaluation.
Definition: range_search_stat.hpp:45
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
double LastDistance() const
Get the last distance evaluation.
Definition: range_search_stat.hpp:43
The core includes that mlpack expects; standard C++ includes and Armadillo.
RangeSearchStat(TreeType &)
Initialize the statistic given a tree node that this statistic belongs to.
Definition: range_search_stat.hpp:39
Statistic class for RangeSearch, to be set to the StatisticType of the tree type that range search is...
Definition: range_search_stat.hpp:26
RangeSearchStat()
Initialize the statistic.
Definition: range_search_stat.hpp:32
void serialize(Archive &ar, const uint32_t)
Serialize the statistic.
Definition: range_search_stat.hpp:49