public static class DFS.VisitedWithSet<N> extends java.lang.Object implements DFS.Visited<N>
Constructor and Description |
---|
DFS.VisitedWithSet() |
DFS.VisitedWithSet(java.util.Set<N> visited) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAndMarkVisited(N current) |
public DFS.VisitedWithSet()
public DFS.VisitedWithSet(@NotNull java.util.Set<N> visited)
public boolean checkAndMarkVisited(N current)
checkAndMarkVisited
in interface DFS.Visited<N>