AlgoDatSoSe25/utils/constants.py
2025-03-25 19:20:32 +01:00

41 lines
691 B
Python

from literal import Literal
class MinValue(Literal):
def __init__(self):
super().__init__(0)
def __gt__(self, other):
return False
def __ge__(self, other):
return False
def __lt__(self, other):
return True
def __le__(self, other):
return True
def __eq__(self, other):
return False
class MaxValue(Literal):
def __init__(self):
super().__init__(0)
def __gt__(self, other):
return True
def __ge__(self, other):
return True
def __lt__(self, other):
return False
def __le__(self, other):
return False
def __eq__(self, other):
return False