pub struct AdjacencyMetrics {
pub total_edges: u32,
pub total_clusters: u32,
pub avg_edges_per_cluster: f64,
pub avg_edge_size_in_cluster: f64,
pub cluster_utilization: f64,
}Expand description
Adjacency efficiency metrics for validating V2 clustering.
Fields§
§total_edges: u32§total_clusters: u32§avg_edges_per_cluster: f64§avg_edge_size_in_cluster: f64§cluster_utilization: f64Trait Implementations§
Source§impl Clone for AdjacencyMetrics
impl Clone for AdjacencyMetrics
Source§fn clone(&self) -> AdjacencyMetrics
fn clone(&self) -> AdjacencyMetrics
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 moreAuto Trait Implementations§
impl Freeze for AdjacencyMetrics
impl RefUnwindSafe for AdjacencyMetrics
impl Send for AdjacencyMetrics
impl Sync for AdjacencyMetrics
impl Unpin for AdjacencyMetrics
impl UnwindSafe for AdjacencyMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more