Skip to content

Commit 57ccc88

Browse files
A* Search Algorithm
1 parent 5ab6277 commit 57ccc88

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

searches/astar.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,3 @@ def neighbors(node: Node) -> Iterable[tuple[Node, float]]:
135135
goal: Node = (5, 5)
136136
path = astar(start, goal, neighbors, heuristic)
137137
print("Path found:", path)
138-
# Expected (one optimal path; yours may differ but length should be 10 moves + start):
139-
# Path found: [(0, 0), (0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (1, 5), (2, 5), (3, 5), (4, 5), (5, 5)

0 commit comments

Comments
 (0)