Skip to main content

two_node_clustering_coefficient

Function two_node_clustering_coefficient 

Source
pub fn two_node_clustering_coefficient<N, E, M>(
    h: &Hypergraph<N, E, M>,
    kind: &str,
) -> IndexMap<String, f64>
Available on crate feature algorithms only.
Expand description

Two-node clustering coefficient averaged over a node’s neighbours. kind ∈ {“union”, “min”, “max”}. XGI parity: two_node_clustering_coefficient (clustering.py:167-278).