mlpack
Public Member Functions | List of all members
mlpack::range::RangeSearchStat Class Reference

Statistic class for RangeSearch, to be set to the StatisticType of the tree type that range search is being performed with. More...

#include <range_search_stat.hpp>

Public Member Functions

 RangeSearchStat ()
 Initialize the statistic.
 
template<typename TreeType >
 RangeSearchStat (TreeType &)
 Initialize the statistic given a tree node that this statistic belongs to. More...
 
double LastDistance () const
 Get the last distance evaluation.
 
double & LastDistance ()
 Modify the last distance evaluation.
 
template<typename Archive >
void serialize (Archive &ar, const uint32_t)
 Serialize the statistic.
 

Detailed Description

Statistic class for RangeSearch, to be set to the StatisticType of the tree type that range search is being performed with.

This class just holds the last visited node and the corresponding base case result.

Constructor & Destructor Documentation

◆ RangeSearchStat()

template<typename TreeType >
mlpack::range::RangeSearchStat::RangeSearchStat ( TreeType &  )
inline

Initialize the statistic given a tree node that this statistic belongs to.

In this case, we ignore the node.


The documentation for this class was generated from the following file: