예제 #1
0
 def __init__(self, name, capacity_consumption, memory_consumption):
     Software.__init__(self, name, "Light", int(1.5 * capacity_consumption),
                       int(0.5 * memory_consumption))
예제 #2
0
 def __init__(self, name, capacity_consumption, memory_consumption):
     Software.__init__(self, name, "Express", capacity_consumption,
                       2 * memory_consumption)
예제 #3
0
 def __init__(self, name, capacity_consumption, memory_consumption):
     Software.__init__(self, name, 'Light', capacity_consumption * 1.5,
                       memory_consumption * 0.5)
 def __init__(self, name, capacity_consumption, memory_consumption):
     Software.__init__(self, name, 'Express', capacity_consumption,
                       memory_consumption * 2)