protected static interface DirectedAcyclicGraph.VisitedStrategy
Vertices are indexed by their topological index, to avoid using the vertex type in the interface.
| Modifier and Type | Method and Description | 
|---|---|
| void | clearVisited(int index)Clear the visited state of the given topological index. | 
| boolean | getVisited(int index)Get if the given topological index has been visited. | 
| void | setVisited(int index)Mark the given topological index as visited. | 
void setVisited(int index)
index - the topological indexboolean getVisited(int index)
index - the topological indexvoid clearVisited(int index)
           throws UnsupportedOperationException
index - the indexUnsupportedOperationException - if the implementation doesn't support (or doesn't
         need) clearance. For example, if the factory creates a new instance every time,
         it is a waste of cycles to reset the state after the search of the Affected
         Region is done, so an UnsupportedOperationException *should* be thrown.Copyright © 2017. All rights reserved.