12 #ifndef MLPACK_METHODS_DBSCAN_RANDOM_POINT_SELECTION_HPP
13 #define MLPACK_METHODS_DBSCAN_RANDOM_POINT_SELECTION_HPP
32 template<
typename MatType>
37 size_t size = data.n_cols;
38 if (unvisited.size() != size)
39 unvisited.resize(size,
true);
42 const size_t max = std::count(unvisited.begin(), unvisited.end(),
true);
47 for (
size_t i = 0; i < unvisited.size(); ++i)
63 std::vector<bool> unvisited;