Conditions | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Contain PsoAlgorithm.""" |
||
16 | def run(self): |
||
17 | self.processValidator.validate(self.process) |
||
18 | self.process.optimizationStatus = OptimizationStatus.in_progress |
||
19 | number_of_groups = self.strategy.get_actual_numbers_of_groups() |
||
20 | for current_group_number in range(number_of_groups): |
||
21 | current_stages = self.strategy.get_items_from_group( |
||
22 | current_group_number) |
||
23 | self.whole_group_pso.optimize(current_stages) |
||
24 | |||
25 |