def __init__(self): Router.__init__(self) # boolean flag to check whether the Router should perform sorting on operators and on pendingEntities self.entitiesWithOccupiedReceivers=[] # list of entities that have no available receivers self.conflictingEntities=[] # entities with conflictingReceivers self.conflictingOperators=[] # list with the operators that have candidateEntity with conflicting candidateReceivers self.occupiedReceivers=[] # occupied candidateReceivers of a candidateEntity
def __init__(self,sorting=False, outputSolutions=True): Router.__init__(self) # Flag used to notify the need for re-allocation of skilled operators to operatorPools self.allocation=False # Flag used to notify the need to wait for endedLastProcessing signal waitEndProcess=False self.outputSolutions=outputSolutions self.id='SkilledRouter01'
def __init__(self,id='SkilledRouter01',name='SkilledRouter01',sorting=False,outputSolutions=True, weightFactors=[2, 1, 0, 2, 0, 1], tool={},checkCondition=False,**kw): Router.__init__(self) # Flag used to notify the need for re-allocation of skilled operators to operatorPools self.allocation=False # Flag used to notify the need to wait for endedLastProcessing signal waitEndProcess=False self.outputSolutions=outputSolutions self.id=id self.name=name self.weightFactors=weightFactors self.tool=tool self.checkCondition=checkCondition
def __init__(self,sorting=False): Router.__init__(self) self.multipleCriterionList=[] self.schedulingRule='WT' # boolean flag to check whether the Router should perform sorting on operators and on pendingEntities self.sorting=sorting
def __init__(self,sorting=False): Router.__init__(self) # Flag used to notify the need for re-allocation of skilled operators to operatorPools self.allocation=False # Flag used to notify the need to wait for endedLastProcessing signal waitEndProcess=False
def __init__(self, sorting=False): Router.__init__(self) # Flag used to notify the need for re-allocation of skilled operators to operatorPools self.allocation = False # Flag used to notify the need to wait for endedLastProcessing signal waitEndProcess = False