Modificato alcune classi
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user