Function vrp_core::algorithms::clustering::dbscan::create_clusters
source · pub fn create_clusters<'a, T>(
points: &'a [T],
epsilon: f64,
min_points: usize,
neighborhood_fn: &NeighborhoodFn<'a, T>
) -> Vec<Cluster<'a, T>>
Expand description
Creates clusters of points using DBSCAN (Density-Based Spatial Clustering of Applications with Noise)
algorithm. NOTE: neighborhood_fn
shall return point itself.