MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

machine_learning/astar.py:53–56  ·  view source on GitHub ↗
(self, world_size=(5, 5))

Source from the content-addressed store, hash-verified

51 """
52
53 def __init__(self, world_size=(5, 5)):
54 self.w = np.zeros(world_size)
55 self.world_x_limit = world_size[0]
56 self.world_y_limit = world_size[1]
57
58 def show(self):
59 print(self.w)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected