pub struct Merge {
pub a: usize,
pub b: usize,
pub distance: f64,
pub size: usize,
}Expand description
One merge of two clusters into a new one. Cluster ids 0..n are the original points; the
merge at position i creates cluster n + i (the same convention as SciPy’s linkage matrix).
Fields§
§a: usize§b: usize§distance: f64§size: usizeTrait Implementations§
impl Copy for Merge
impl StructuralPartialEq for Merge
Auto Trait Implementations§
impl Freeze for Merge
impl RefUnwindSafe for Merge
impl Send for Merge
impl Sync for Merge
impl Unpin for Merge
impl UnsafeUnpin for Merge
impl UnwindSafe for Merge
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