|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.datastructures.DFS<V,E,java.lang.Object,java.lang.Iterable<Position>>
net.datastructures.FindCycleDFS<V,E>
public class FindCycleDFS<V,E>
This class specializes DFS to find a cycle.
| Constructor Summary | |
|---|---|
FindCycleDFS()
|
|
| Method Summary | |
|---|---|
java.lang.Iterable<Position> |
finalResult(java.lang.Iterable<Position> r)
Returns the final result of the DFS execute method. |
void |
setup()
Executes the DFS algorithm. |
| Methods inherited from class net.datastructures.DFS |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindCycleDFS()
| Method Detail |
|---|
public void setup()
info - unusedpublic java.lang.Iterable<Position> finalResult(java.lang.Iterable<Position> r)
DFS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||