pub struct LayoutQuality {
pub dispersion_score: f64,
pub overlap_score: f64,
pub silhouette_score: f64,
}Fields§
§dispersion_score: f64How evenly spread points are (0.0 = clustered, 1.0 = maximally dispersed)
overlap_score: f64Fraction of point pairs closer than a threshold (0.0 = no overlaps, 1.0 = all overlapping)
silhouette_score: f64Silhouette coefficient for cluster quality (-1.0 to 1.0, higher = better separated clusters)
Trait Implementations§
Source§impl Clone for LayoutQuality
impl Clone for LayoutQuality
Source§fn clone(&self) -> LayoutQuality
fn clone(&self) -> LayoutQuality
Returns a duplicate 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 LayoutQuality
impl Debug for LayoutQuality
Source§impl Default for LayoutQuality
impl Default for LayoutQuality
Source§fn default() -> LayoutQuality
fn default() -> LayoutQuality
Returns the “default value” for a type. Read more
impl Copy for LayoutQuality
Auto Trait Implementations§
impl Freeze for LayoutQuality
impl RefUnwindSafe for LayoutQuality
impl Send for LayoutQuality
impl Sync for LayoutQuality
impl Unpin for LayoutQuality
impl UnsafeUnpin for LayoutQuality
impl UnwindSafe for LayoutQuality
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