Trait fera_graph::algs::paths::Paths
source · 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>>,
{ ... }
}