Go to the documentation of this file.
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 & BOOST_SERIALIZATION_NVP(lastDistance);
double LastDistance() const
Get the last distance evaluation.
The core includes that mlpack expects; standard C++ includes and Armadillo.
double & LastDistance()
Modify the last distance evaluation.
Linear algebra utility functions, generally performed on matrices or vectors.
Statistic class for RangeSearch, to be set to the StatisticType of the tree type that range search is...
void serialize(Archive &ar, const unsigned int)
Serialize the statistic.
RangeSearchStat()
Initialize the statistic.
RangeSearchStat(TreeType &)
Initialize the statistic given a tree node that this statistic belongs to.