Skip to main content

dijkstra

Function dijkstra 

Source
pub fn dijkstra<G, F>(
    graph: &G,
    source: G::Node,
    target: G::Node,
    edge_cost: F,
) -> Option<WeightedPath<G::Node>>
where G: IndexGraphView, F: FnMut(G::Edge) -> u64,