Enum dbscan::Classification
source · pub enum Classification {
Core(usize),
Edge(usize),
Noise,
}
Expand description
Classification according to the DBSCAN algorithm
Variants§
Core(usize)
A point with at least min_points
neighbors within eps
diameter
Edge(usize)
A point within eps
of a core point, but has less than min_points
neighbors
Noise
A point with no connections
Trait Implementations§
source§impl Clone for Classification
impl Clone for Classification
source§fn clone(&self) -> Classification
fn clone(&self) -> Classification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Classification
impl Debug for Classification
source§impl PartialEq<Classification> for Classification
impl PartialEq<Classification> for Classification
source§fn eq(&self, other: &Classification) -> bool
fn eq(&self, other: &Classification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Classification> for Classification
impl PartialOrd<Classification> for Classification
source§fn partial_cmp(&self, other: &Classification) -> Option<Ordering>
fn partial_cmp(&self, other: &Classification) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more