def __init__(self, drink, width, height): self.__drink = drink self.__width = width self.__height = height self.__graph = None ThreadedNodeConstructor.__init__(self)
def __init__(self, width, height, drinks, time_window=10): self.__width = width self.__height = height self.__drinks = drinks self.__time_window = time_window self.__trend_data = None ThreadedNodeConstructor.__init__(self)