Modificato alcune classi

This commit is contained in:
2014-06-01 20:32:07 +02:00
parent 71cea16bcb
commit 01c626d0e0
6 changed files with 36 additions and 54 deletions

View File

@@ -1,6 +1,5 @@
package graph;
//begin#fragment FindPathDFS
import position.NodePositionList;
import position.Position;
@@ -15,6 +14,7 @@ public class FindPathDFS<V, E>
extends DFS<V, E, Vertex<V>, Iterable<Position>> {
protected PositionList<Position> path;
protected boolean done;
/** Setup method to initialize the path. */
public void setup() {
path = new NodePositionList<Position>();
@@ -40,4 +40,4 @@ public class FindPathDFS<V, E>
return path;
}
}
//end#fragment FindPathDFS