Struct fera_graph::traverse::DfsAlg
[−]
[src]
#[must_use = "call .run() to execute the algorithm"]pub struct DfsAlg<A, B, C, D, E>(pub A, pub B, pub C, pub D, pub E);
Methods
impl<A, B, C, D, E> DfsAlg<A, B, C, D, E>
[src]
fn graph<N>(self, zero: N) -> DfsAlg<N, B, C, D, E>
[src]
fn visitor<N>(self, one: N) -> DfsAlg<A, N, C, D, E>
[src]
fn roots<N>(self, two: N) -> DfsAlg<A, B, N, D, E>
[src]
fn color<N>(self, three: N) -> DfsAlg<A, B, C, N, E>
[src]
fn stack<N>(self, four: N) -> DfsAlg<A, B, C, D, N>
[src]
impl<'a, G, V, R, C, S> DfsAlg<&'a G, V, R, C, S>
[src]
fn run(self) -> Control where
G: Incidence,
V: Visitor<G>,
R: IntoIterator<Item = Vertex<G>>,
C: ParamDerefMut,
C::Target: VertexPropMut<G, Color>,
S: ParamDerefMut<Target = DfsStack<'a, G>>,
[src]
G: Incidence,
V: Visitor<G>,
R: IntoIterator<Item = Vertex<G>>,
C: ParamDerefMut,
C::Target: VertexPropMut<G, Color>,
S: ParamDerefMut<Target = DfsStack<'a, G>>,
fn root(self, root: Vertex<G>) -> DfsAlg<&'a G, V, Once<Vertex<G>>, C, S> where
G: WithVertex,
[src]
G: WithVertex,
fn ignore_color_changes(
self
) -> DfsAlg<&'a G, V, R, Owned<IgnoreWriteProp<Color>>, S> where
G: WithVertex,
[src]
self
) -> DfsAlg<&'a G, V, R, Owned<IgnoreWriteProp<Color>>, S> where
G: WithVertex,