pub fn create_clusters<'a, T>(
    points: &'a [T],
    epsilon: f64,
    min_points: usize,
    neighborhood_fn: &NeighborhoodFn<'a, T>
) -> Vec<Cluster<'a, T>>
where T: Hash + Eq,
Expand description

Creates clusters of points using DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm. NOTE: neighborhood_fn shall return point itself.