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

Method __ge__

divide_and_conquer/convex_hull.py:67–72  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

65 return not self > other
66
67 def __ge__(self, other):
68 if self.x > other.x:
69 return True
70 elif self.x == other.x:
71 return self.y >= other.y
72 return False
73
74 def __le__(self, other):
75 if self.x < other.x:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected