Fixing lines and spaces and restoring labyOutput
This commit is contained in:
16 files changed
+45
-55
No files matched your search
+6
-6
@@ -7,19 +7,19 @@ import ui.*;
|
||||
public class MainTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
|
||||
Maze mazeTest = new Maze("data/labyrinthe.txt") ;
|
||||
|
||||
|
||||
Previous previous = (Previous) Dijkstra.dijkstra(mazeTest, mazeTest.getMaze()[1][1]);
|
||||
|
||||
|
||||
ArrayList<VertexInterface> shortest = previous.getShortestPathTo(mazeTest.getMaze()[5][5]);
|
||||
|
||||
|
||||
for (VertexInterface vertex : shortest) {
|
||||
System.out.println(vertex);
|
||||
}
|
||||
|
||||
|
||||
mazeTest.saveToTextFile("data/labyOutput.txt");
|
||||
|
||||
|
||||
new MazeApp();
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user