Skip to main content

graph_density

Function graph_density 

Source
pub fn graph_density(graph: &Graph) -> f64
Expand description

Graph density: |E| / (|V| * (|V| - 1)) for directed graphs.