summaryrefslogtreecommitdiffstats
path: root/searchAgents.py
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-09-13 18:00:47 -0500
committerToby Vincent <tobyv13@gmail.com>2021-09-13 18:00:47 -0500
commit92a64e25fca8f3209648ad36bc016f3850bc1cfd (patch)
tree173c53f2cf7411e3d1b270059fd6f002b874e0fe /searchAgents.py
parentf766d3dda728dd83dc9c0ad34d6519a20fd322f2 (diff)
cleaned up unused codeHEADmain
Diffstat (limited to 'searchAgents.py')
-rw-r--r--searchAgents.py1
1 files changed, 0 insertions, 1 deletions
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])