MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / create_unavailable_grid

Function create_unavailable_grid

Python/dijkstra.py:34–36  ·  view source on GitHub ↗
(height, width)

Source from the content-addressed store, hash-verified

32
33# the "closed list"
34def 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)
39def create_parent_grid(height, width):

Callers 1

escape_routeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected