Esempio n. 1
0
 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'
Esempio n. 3
0
 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
Esempio n. 4
0
 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
Esempio n. 5
0
 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
Esempio n. 6
0
 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