Trait petgraph::visit::Visitable [−][src]
pub trait Visitable: GraphBase { type Map: VisitMap<Self::NodeId>; fn visit_map(&self) -> Self::Map; fn reset_map(&self, map: &mut Self::Map); }
A graph that can create a map that tracks the visited status of its nodes.
Associated Types
Loading content...Required methods
fn visit_map(&self) -> Self::Map
[src]
Create a new visitor map
fn reset_map(&self, map: &mut Self::Map)
[src]
Reset the visitor map (and resize to new size of graph if needed)
Implementations on Foreign Types
impl<'a, G> Visitable for &'a G where
G: Visitable,
[src]
impl<'a, G> Visitable for &'a G where
G: Visitable,
[src]Implementors
impl<G, F> Visitable for EdgeFiltered<G, F> where
G: Visitable,
[src]
impl<G, F> Visitable for EdgeFiltered<G, F> where
G: Visitable,
[src]impl<G, F> Visitable for NodeFiltered<G, F> where
G: Visitable,
[src]
impl<G, F> Visitable for NodeFiltered<G, F> where
G: Visitable,
[src]impl<N, E, Ty, Ix> Visitable for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Visitable for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]type Map = FixedBitSet
fn visit_map(&self) -> FixedBitSet
[src]
fn reset_map(&self, map: &mut Self::Map)
[src]
impl<N, E, Ty, Ix> Visitable for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Visitable for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]type Map = FixedBitSet
fn visit_map(&self) -> FixedBitSet
[src]
fn reset_map(&self, map: &mut Self::Map)
[src]
impl<N, E, Ty, Ix> Visitable for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> Visitable for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]type Map = FixedBitSet
fn visit_map(&self) -> FixedBitSet
[src]
fn reset_map(&self, map: &mut Self::Map)
[src]
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> Visitable for MatrixGraph<N, E, Ty, Null, Ix>
[src]
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> Visitable for MatrixGraph<N, E, Ty, Null, Ix>
[src]