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

Method __eq__

machine_learning/astar.py:39–40  ·  view source on GitHub ↗
(self, cell)

Source from the content-addressed store, hash-verified

37 """
38
39 def __eq__(self, cell):
40 return self.position == cell.position
41
42 def showcell(self):
43 print(self.position)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected