mlpack 3.4.2
ordered_point_selection.hpp
Go to the documentation of this file.
1
12#ifndef MLPACK_METHODS_DBSCAN_ORDERED_POINT_SELECTION_HPP
13#define MLPACK_METHODS_DBSCAN_ORDERED_POINT_SELECTION_HPP
14
15#include <mlpack/prereqs.hpp>
16
17namespace mlpack {
18namespace dbscan {
19
24{
25 public:
32 template<typename MatType>
33 static size_t Select(const size_t point,
34 const MatType& /* data */)
35 {
36 return point; // Just return point.
37 }
38};
39
40} // namespace dbscan
41} // namespace mlpack
42
43#endif
This class can be used to sequentially select the next point to use for DBSCAN.
static size_t Select(const size_t point, const MatType &)
Select the next point to use, sequentially.
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.