mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-11-01 15:42:03 +01:00
fix something on the solver
This commit is contained in:
1 parent
3c072de0f4
commit
b078241359
5 files changed
+24
-28
No files matched your search
@@ -1,5 +1,5 @@
|
||||
from src.amaz_lib.MazeGenerator import DepthFirstSearch, Kruskal
|
||||
from src.amaz_lib.MazeSolver import AStar
|
||||
from src.amaz_lib.MazeSolver import AStar, DepthFirstSearchSolver
|
||||
|
||||
|
||||
class DataMaze:
|
||||
@@ -68,6 +68,7 @@ class DataMaze:
|
||||
}
|
||||
available_solver = {
|
||||
"AStar": AStar,
|
||||
"DFS": DepthFirstSearchSolver
|
||||
}
|
||||
res = {}
|
||||
res["GENERATOR"] = available_generator[data["GENERATOR"]](entry, exit,
|
||||
|
||||
Reference in new issue
Block a user