Trait petgraph::algo::Measure

source ·
pub trait Measure: Debug + PartialOrd + Add<Self, Output = Self> + Default + Clone { }
Expand description

Associated data that can be used for measures (such as length).

Implementors§

source§

impl<M> Measure for Mwhere M: Debug + PartialOrd + Add<M, Output = M> + Default + Clone,