pub fn hypergraph_clustering_coefficient(
node: usize,
hg: &IndexedHypergraph,
) -> f64Expand description
Compute the local clustering coefficient of a node in an IndexedHypergraph.
Defined as the fraction of neighbour pairs (in the 2-section) that are also
connected. Returns 0.0 for isolated nodes or nodes with fewer than 2 neighbours.