Class DirectedAcyclicGraph.VisitedHashSetImpl

java.lang.Object
org.jgrapht.graph.DirectedAcyclicGraph.VisitedHashSetImpl
All Implemented Interfaces:
Serializable, DirectedAcyclicGraph.VisitedStrategy, DirectedAcyclicGraph.VisitedStrategyFactory
Enclosing class:
DirectedAcyclicGraph<V,E>

protected static class DirectedAcyclicGraph.VisitedHashSetImpl extends Object implements DirectedAcyclicGraph.VisitedStrategy, DirectedAcyclicGraph.VisitedStrategyFactory
A visited strategy using a HashSet.

This implementation doesn't seem to perform as well, though I can imagine circumstances where it should shine (lots and lots of vertices). It also should have the lowest memory footprint as it only uses storage for indices that have been visited.

Author:
Peter Giles
See Also: