Clustering

Trait Clustering 

Source
pub trait Clustering: GraphBase
where 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§

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.

Implementors§