sortCandidateEntities of OperatorManagedJob corrected

parent ea36e753
...@@ -86,19 +86,19 @@ class OperatorManagedJob(Operator): ...@@ -86,19 +86,19 @@ class OperatorManagedJob(Operator):
# def isAssignedTo(self): # def isAssignedTo(self):
# return self.operatorAssignedTo # return self.operatorAssignedTo
# # ======================================================================= # =======================================================================
# # sorts the candidateEntities of the Operator according to the scheduling rule # sorts the candidateEntities of the Operator according to the scheduling rule
# # TODO: maybe the argument is not needed. the candidate entities is a variable of the object # TODO: maybe the argument is not needed. the candidate entities is a variable of the object
# # ======================================================================= # =======================================================================
# def sortCandidateEntities(self): def sortCandidateEntities(self):
# # TODO: have to consider what happens in case of a critical order # TODO: have to consider what happens in case of a critical order
# #if we have sorting according to multiple criteria we have to call the sorter many times #if we have sorting according to multiple criteria we have to call the sorter many times
# if self.schedulingRule=="MC": if self.schedulingRule=="MC":
# for criterion in reversed(self.multipleCriterionList): for criterion in reversed(self.multipleCriterionList):
# self.activeCandidateQSorter(criterion=criterion) self.activeCandidateQSorter(criterion=criterion)
# #else we just use the default scheduling rule #else we just use the default scheduling rule
# else: else:
# self.activeCandidateQSorter(self.schedulingRule) self.activeCandidateQSorter(self.schedulingRule)
# ======================================================================= # =======================================================================
# sorts the Entities of the Queue according to the scheduling rule # sorts the Entities of the Queue according to the scheduling rule
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment