Fix infinite path in Dijkstra algorithm

This commit is contained in:
antograb committed 2017-12-27 15:13:40 +01:00
1 parent 11200ebed2
commit c7134e9e91
4 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ public class Maze
return neighbourList ;
}
/**Constructs the maze from a text file, according to each single character on each line.
* @param filename
* The path to the file containing the representation of the maze.