Skip to main content

degree_counts

Function degree_counts 

Source
pub fn degree_counts<N, E, M>(
    h: &Hypergraph<N, E, M>,
    order: Option<usize>,
) -> Vec<usize>
Available on crate feature algorithms only.
Expand description

Occurrences of each degree value, index = degree, from 0 to max degree. XGI parity: degree_counts (properties.py:244-282).