Skip to main content

BellmanFordPathEntry

Type Alias BellmanFordPathEntry 

Source
pub type BellmanFordPathEntry = Option<(Vec<VertexId>, Vec<u32>)>;
Expand description

One entry in the result of bellman_ford_paths: Some((vertices, edges)) if the target is reachable, None otherwise.

Aliased Type§

pub enum BellmanFordPathEntry {
    None,
    Some((Vec<u32>, Vec<u32>)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((Vec<u32>, Vec<u32>))

Some value of type T.