Enum hdbscan::DistanceMetric
source · pub enum DistanceMetric {
Euclidean,
Manhattan,
}Expand description
Possible distance metrics that can be used in the HDBSCAN algorithm when calculating the distances between data points.
Variants§
Trait Implementations§
source§impl Clone for DistanceMetric
impl Clone for DistanceMetric
source§fn clone(&self) -> DistanceMetric
fn clone(&self) -> DistanceMetric
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 moreimpl Copy for DistanceMetric
Auto Trait Implementations§
impl Freeze for DistanceMetric
impl RefUnwindSafe for DistanceMetric
impl Send for DistanceMetric
impl Sync for DistanceMetric
impl Unpin for DistanceMetric
impl UnwindSafe for DistanceMetric
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more