pub trait Clustering: GraphBasewhere
Self::NodeType: NodeBase<NodeIdType = NodeId, NodeSetType = FxHashSet<NodeId>>,
<Self::NodeType as NodeBase>::NodeEdgeType: NodeEdgeBase<NodeIdType = NodeId>,{
// Provided methods
fn get_clustering_coefficient(&self, id: NodeId) -> Option<f64> { ... }
fn get_avg_clustering(&self) -> f64 { ... }
fn get_approx_avg_clustering(&self, samples: usize) -> f64 { ... }
}Provided Methods§
fn get_clustering_coefficient(&self, id: NodeId) -> Option<f64>
fn get_avg_clustering(&self) -> f64
fn get_approx_avg_clustering(&self, samples: usize) -> f64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.