Trait ReflexiveGraph

Source
pub trait ReflexiveGraph: Graph {
    // Required method
    fn refl(&self, v: Self::V) -> Self::E;
}
Expand description

A reflexive graph.

A reflexive graph is a graph equipped with a distinguished self-loop on each vertex.

Required Methods§

Source

fn refl(&self, v: Self::V) -> Self::E

Gets the reflexive loop at a vertex.

Implementors§