SYNOPSIS

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.

Detailed Description

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 &)\fC [inline]\fP, \fC [static]\fP

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.

Author

Generated automatically by Doxygen for MLPACK from the source code.