Skip to content

Commit

Permalink
Update mco_method_evaluate.py - fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alvls committed May 15, 2024
1 parent 2b6ad95 commit e66c7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iOpt/method/mco_method_evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def calculate_functionals(self, point: SearchDataItem) -> SearchDataItem:
point.function_values[number_of_constraints + i] = FunctionValue(FunctionType.OBJECTIV, i)
point = self.task.calculate(point, -1)

# Если нужно считать по очереди критерии то заменить цикл выше на следующий код:
# Если нужно считать критерии поочередно, то заменить предыдущий цикл на следующий код:
#for i in range(self.task.problem.number_of_objectives):
# point.function_values[number_of_constraints + i] = FunctionValue(FunctionType.OBJECTIV, i)
# point = self.task.calculate(point, i)
Expand Down

0 comments on commit e66c7c4

Please sign in to comment.