Fix infinite path in Dijkstra algorithm
This commit is contained in:
1 parent
11200ebed2
commit
c7134e9e91
4 files changed
+14
-7
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user