This commit is contained in:
parent
89e0fc5b75
commit
dd50aef1a0
@ -233,8 +233,8 @@ class BFS:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def run():
|
def run():
|
||||||
initial_map = Map(BFS.loadMap('map.txt'))
|
initial_map = BFS.loadMap('map.txt')
|
||||||
goal_map = Map(BFS.loadMap('goal_map.txt'))
|
goal_map = BFS.loadMap('goal_map.txt')
|
||||||
problem = Problem(initial_map, goal_map)
|
problem = Problem(initial_map, goal_map)
|
||||||
|
|
||||||
result = BFS.breadth_first_graph_search(problem)
|
result = BFS.breadth_first_graph_search(problem)
|
||||||
|
Loading…
Reference in New Issue
Block a user