mlpack  1.0.12
first_point_is_root.hpp
Go to the documentation of this file.
1 
15 #ifndef __MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
16 #define __MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
17 
18 #include <mlpack/core.hpp>
19 
20 namespace mlpack {
21 namespace tree {
22 
32 {
33  public:
38  static size_t ChooseRoot(const arma::mat& /* dataset */) { return 0; }
39 };
40 
41 }; // namespace tree
42 }; // namespace mlpack
43 
44 #endif // __MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: load.hpp:23
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...