Trait fera_graph::algs::trees::Trees
[−]
[src]
pub trait Trees: Incidence { fn is_tree(&self) -> bool
where
Self: VertexList + EdgeList + WithVertexProp<Color>, { ... } fn tree_diameter(&self) -> Result<usize, ()>
where
Self: VertexList + EdgeList + WithVertexProp<Color>, { ... } }
Provided Methods
fn is_tree(&self) -> bool where
Self: VertexList + EdgeList + WithVertexProp<Color>,
Self: VertexList + EdgeList + WithVertexProp<Color>,
fn tree_diameter(&self) -> Result<usize, ()> where
Self: VertexList + EdgeList + WithVertexProp<Color>,
Self: VertexList + EdgeList + WithVertexProp<Color>,
Implementors
impl<G: Incidence> Trees for G