def __init__(self, server=None, name="", sim=None): Process.__init__(self, name, sim=sim) self.res = server self.gotResource = None
def __init__(self, **vars): Process.__init__(self, **vars)
def __init__(self, name, heNeeds=[], sim=None): Process.__init__(self, name, sim=sim) self.heNeeds = heNeeds
def __init__(self, holdtime, name, sim=None): Process.__init__(self, name, sim=sim) self.holdtime = holdtime
def __init__(self, myBus, sim=None): Process.__init__(self, name="Breakdown " + myBus.name, sim=sim) self.bus = myBus
def __init__(self, **par): Process.__init__(self, **par)
def __init__(self, name, sim=None): Process.__init__(self, name=name, sim=sim)
def __init__(self, env, numeroProceso): Process.__init__(self) self.env = env self.numeroProceso = numeroProceso self.New_pro = env.process(self.New(env, numeroProceso))