first_point_is_root.hpp
Go to the documentation of this file.
1 
13 #ifndef MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
14 #define MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
15 
16 #include <mlpack/prereqs.hpp>
17 
18 namespace mlpack {
19 namespace tree {
20 
30 {
31  public:
36  template<typename MatType>
37  static size_t ChooseRoot(const MatType& /* dataset */) { return 0; }
38 };
39 
40 } // namespace tree
41 } // namespace mlpack
42 
43 #endif // MLPACK_CORE_TREE_FIRST_POINT_IS_ROOT_HPP
.hpp
Definition: add_to_po.hpp:21
The core includes that mlpack expects; standard C++ includes and Armadillo.
static size_t ChooseRoot(const MatType &)
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...