1
2
3
pub trait Recalc<V, E> {
    fn recalc(&self, vertex: &V, edge: &E) -> Self;
}