pub trait ParametricAPI<E, R>{
// 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
.