Enum linfa_hierarchical::Criterion
source · [−]Expand description
Criterion when to stop merging
The criterion defines at which point the merging process should stop. This can be either, when a certain number of clusters is reached, or the distance becomes larger than a maximal distance.
Variants
NumClusters(usize)
Distance(F)
Trait Implementations
impl<F: Float> StructuralPartialEq for Criterion<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for Criterion<F> where
F: RefUnwindSafe,
impl<F> Send for Criterion<F>
impl<F> Sync for Criterion<F>
impl<F> Unpin for Criterion<F>
impl<F> UnwindSafe for Criterion<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more