Trait ParametricAPI

Source
pub trait ParametricAPI<E, R>
where R: Copy + PartialOrd, E: Clone,
{ // Required methods fn distance(&self, ratio: &R, edge: &EdgeReference<'_, R>) -> R; fn zero_cancel(&self, cycle: &[EdgeReference<'_, R>]) -> R; }
Expand description

The ParametricAPI trait defines two methods: distance and zero_cancel.

Required Methods§

Source

fn distance(&self, ratio: &R, edge: &EdgeReference<'_, R>) -> R

Source

fn zero_cancel(&self, cycle: &[EdgeReference<'_, R>]) -> R

Implementors§