MLPACK  1.0.11
first_point_is_root.hpp
Go to the documentation of this file.
1 
23 #ifndef __MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
24 #define __MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
25 
26 #include <mlpack/core.hpp>
27 
28 namespace mlpack {
29 namespace tree {
30 
40 {
41  public:
46  static size_t ChooseRoot(const arma::mat& /* dataset */) { return 0; }
47 };
48 
49 }; // namespace tree
50 }; // namespace mlpack
51 
52 #endif // __MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: load.hpp:31
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 clas...