Fixed last dijkstra classes. Algorithm working for squared maze but bugs for non square mazes.

This commit is contained in:
antograb committed 2017-12-06 22:30:58 +01:00
1 parent 5d7c970e1b
commit d7368f7cda
10 files changed
+64 -54

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
import dijkstra.Dijkstra;
import maze.Maze;
public class MainTest {
@@ -5,8 +6,8 @@ public class MainTest {
public static void main(String[] args) {
Maze mazeTest = new Maze("data/labyrinthe.txt") ;
System.out.println("\n" + mazeTest);
Dijkstra.dijkstra(mazeTest, mazeTest.getMaze()[1][1]) ;
mazeTest.saveToTextFile("data/labyOutput.txt");