summaryrefslogtreecommitdiffstats
path: root/searchAgents.py
diff options
context:
space:
mode:
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])