From a2d6cc688b9472b3c5cc4471623a1b8e47a63fde Mon Sep 17 00:00:00 2001 From: Wiktor Szynaka Date: Sat, 13 May 2023 21:17:30 +0200 Subject: [PATCH] correction --- bfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bfs.py b/bfs.py index 6a709c0..6766491 100644 --- a/bfs.py +++ b/bfs.py @@ -9,12 +9,12 @@ from turnCar import turn_left_orientation, turn_right_orientation class Succ: state: AgentState action: AgentActionType - cost: int + ##cost: int def __init__(self, state: AgentState, action: AgentActionType) -> None: self.state = state self.action = action - self.cost = cost + ##self.cost = cost def find_path_to_nearest_can(startState: AgentState, grid: Dict[Tuple[int, int], GridCellType]) -> list[AgentActionType]: q: Queue[list[Succ]] = Queue()