Struct traitgraph::algo::dijkstra::Dijkstra[][src]

pub struct Dijkstra<Graph: GraphBase, NodeWeights> { /* fields omitted */ }
Expand description

Data structure for Dijkstra’s shortest path algorithm.

This variant of Dijkstra’s algorithm supports only computing the length of a shortest path, and not the shortest path itself. Therefore it does not need an array of back pointers for each node, saving a bit of memory.

Implementations

Create the data structures for the given graph.

Compute the shortest paths from source to all targets, with given maximum weight.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.