| 22 | |
| 23 | |
| 24 | class Node: |
| 25 | def __init__( |
| 26 | self, pos_x: int, pos_y: int, goal_x: int, goal_y: int, parent: Node | None |
| 27 | ): |
| 28 | self.pos_x = pos_x |
| 29 | self.pos_y = pos_y |
| 30 | self.pos = (pos_y, pos_x) |
| 31 | self.goal_x = goal_x |
| 32 | self.goal_y = goal_y |
| 33 | self.parent = parent |
| 34 | |
| 35 | |
| 36 | class BreadthFirstSearch: |
no outgoing calls
no test coverage detected