Skip to main content

incidence_density

Function incidence_density 

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

Density of the incidence matrix = nnz / (n · num_edges_considered). XGI parity: incidence_density (properties.py:428-494).