(height, width)
| 32 | |
| 33 | # the "closed list" |
| 34 | def create_unavailable_grid(height, width): |
| 35 | # False if empty, True if occupied |
| 36 | return [[False for x in range(width)] for y in range(height)] |
| 37 | |
| 38 | # the parent of a node (at its position) |
| 39 | def create_parent_grid(height, width): |