Skip to main content

WidestPathResult

Type Alias WidestPathResult 

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

One entry of widest_paths_to’s output: Some((vertices, edges)) for a reachable target, None for unreachable. Each vertex chain begins with the source and ends with the target; each edge chain has length one less.

Aliased Type§

pub enum WidestPathResult {
    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.