Conditions | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Contain PsoAlgorithm.""" |
||
10 | 1 | def __init__(self, process, grouping_strategy, optimization_startegy, |
|
11 | number_of_particle=40): |
||
12 | 1 | self.process = process |
|
13 | 1 | self.grouping_strategy = grouping_strategy |
|
14 | 1 | self.optimization_strategy = optimization_startegy |
|
15 | 1 | self.process_validator = ProcessValidator() |
|
16 | 1 | self.whole_group_pso = WholeGroupPso(self.process, number_of_particle) |
|
17 | |||
30 |