Trait fera_graph::algs::paths::Paths
[−]
[src]
pub trait Paths: Incidence { fn find_path(
&self,
u: Vertex<Self>,
v: Vertex<Self>
) -> Option<Vec<Edge<Self>>>
where
Self: WithVertexProp<Color>, { ... } fn is_walk<I>(&self, edges: I) -> bool
where
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>>, { ... } fn is_path<I>(&self, edges: I) -> bool
where
Self: WithVertexProp<bool>,
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>>, { ... } }
Provided Methods
fn find_path(&self, u: Vertex<Self>, v: Vertex<Self>) -> Option<Vec<Edge<Self>>> where
Self: WithVertexProp<Color>,
Self: WithVertexProp<Color>,
fn is_walk<I>(&self, edges: I) -> bool where
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>>,
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>>,
fn is_path<I>(&self, edges: I) -> bool where
Self: WithVertexProp<bool>,
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>>,
Self: WithVertexProp<bool>,
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>>,
Implementors
impl<G> Paths for G where
G: Incidence,