Skip to main content

average_path_length

Function average_path_length 

Source
pub fn average_path_length(g: &Adjacency) -> f32
Expand description

The average shortest-path length over all ordered pairs of distinct, connected nodes (undirected). 0.0 when no pair is connected.