pub trait Visitable: GraphBase {
    type Map: VisitMap<Self::NodeId>;

    fn visit_map(&self) -> Self::Map;
    fn reset_map(&self, map: &mut Self::Map);
}
Expand description

A graph that can create a map that tracks the visited status of its nodes.

Required Associated Types

The associated map type

Required Methods

Create a new visitor map

Reset the visitor map (and resize to new size of graph if needed)

Implementations on Foreign Types

Implementors