From dd50aef1a017c56983f51d8fda157cfa0f6b0874 Mon Sep 17 00:00:00 2001 From: eugenep Date: Wed, 14 Apr 2021 00:27:42 +0200 Subject: [PATCH] --- graphsearch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphsearch.py b/graphsearch.py index 10e6670..e1b2cd4 100644 --- a/graphsearch.py +++ b/graphsearch.py @@ -233,8 +233,8 @@ class BFS: @staticmethod def run(): - initial_map = Map(BFS.loadMap('map.txt')) - goal_map = Map(BFS.loadMap('goal_map.txt')) + initial_map = BFS.loadMap('map.txt') + goal_map = BFS.loadMap('goal_map.txt') problem = Problem(initial_map, goal_map) result = BFS.breadth_first_graph_search(problem)