fix: fixed mapping of search_algorithm
Map the correct search algorithm to its name.
This commit is contained in:
parent
9026ad7328
commit
083a0a5ab1
1 changed files with 2 additions and 2 deletions
4
app.py
4
app.py
|
@ -45,8 +45,8 @@ class App(Tk):
|
|||
self.solver = Solver(self.maze)
|
||||
|
||||
self.search_algorithms = {
|
||||
"Breadth-First Search": self.solver.solve_with_dfs_r,
|
||||
"Depth-First Search": self.solver.solve_with_bfs_r,
|
||||
"Breadth-First Search": self.solver.solve_with_bfs_r,
|
||||
"Depth-First Search": self.solver.solve_with_dfs_r,
|
||||
}
|
||||
|
||||
self.side_panel = self._create_side_panel()
|
||||
|
|
Loading…
Reference in a new issue