floyd_warshall_digraph

Function floyd_warshall_digraph 

Source
pub fn floyd_warshall_digraph<N, E, Ix>(
    graph: &DiGraph<N, E, Ix>,
) -> Result<Array2<f64>>
where N: Node + Debug, E: EdgeWeight + Into<f64> + Zero + Copy, Ix: IndexType,
Expand description

Computes all-pairs shortest paths for a directed graph using Floyd-Warshall