pub trait DijkstraWeightedEdgeData<WeightType: DijkstraWeight> {
    // Required method
    fn weight(&self) -> WeightType;
}
Expand description

Edge data that has a weight usable for shortest path computation.

Required Methods§

source

fn weight(&self) -> WeightType

The weight of the edge.

Implementors§

source§

impl<WeightType: DijkstraWeight + Copy> DijkstraWeightedEdgeData<WeightType> for WeightType