Static Public Member Functions
static size_t ChooseRoot (const arma::mat &)
Return the point to be used as the root point of the cover tree.
This class is meant to be used as a choice for the policy class RootPointPolicy of the CoverTree class.
This policy determines which point is used for the root node of the cover tree. This particular implementation simply chooses the first point in the dataset as the root. A more complex implementation might choose, for instance, the point with least maximum distance to other points (the closest to the 'middle').
Definition at line 39 of file first_point_is_root.hpp.
Member Function Documentation
static size_t mlpack::tree::FirstPointIsRoot::ChooseRoot (const arma::mat &) [inline], [static]
Return the point to be used as the root point of the cover tree. This just returns 0.
Definition at line 46 of file first_point_is_root.hpp.
Generated automatically by Doxygen for MLPACK from the source code.