mlpack
3.4.2
mlpack-3.4.2
src
mlpack
methods
dbscan
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
17
namespace
mlpack
{
18
namespace
dbscan {
19
23
class
OrderedPointSelection
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
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
add_to_cli11.hpp:21
mlpack::dbscan::OrderedPointSelection
This class can be used to sequentially select the next point to use for DBSCAN.
Definition:
ordered_point_selection.hpp:24
mlpack::dbscan::OrderedPointSelection::Select
static size_t Select(const size_t point, const MatType &)
Select the next point to use, sequentially.
Definition:
ordered_point_selection.hpp:33
Generated by
1.8.20