From 92a64e25fca8f3209648ad36bc016f3850bc1cfd Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Mon, 13 Sep 2021 18:00:47 -0500 Subject: cleaned up unused code --- search.py | 7 +++---- searchAgents.py | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/search.py b/search.py index 5574ef7..b4c8a27 100644 --- a/search.py +++ b/search.py @@ -4,10 +4,9 @@ # Project 1 # Due: Sept. 14th, 2021 # -# TODO NAME -# Partner: TODO NAME -# - +# TODO Add name +# Name: +# Partner: diff --git a/searchAgents.py b/searchAgents.py index 0f703ff..067e260 100644 --- a/searchAgents.py +++ b/searchAgents.py @@ -400,7 +400,6 @@ def cornersHeuristic(state, problem): """ corners = problem.corners # These are the corner coordinates - # walls = problem.walls # These are the walls of the maze, as a Grid (game.py) TODO REMOVE position, visited = state # performs the same function as the Manhattan Distance Equation getDistance = lambda corner: abs(position[0] - corner[0]) + abs(position[1] - corner[1]) -- cgit v1.2.3-70-g09d2