Conditions | 2 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Contains WholeGroupPso class.""" |
||
26 | def optimize(self, ordered_stages_to_optimize): |
||
27 | swarm = Swarm(self.process, ordered_stages_to_optimize, |
||
28 | self.number_of_particles) |
||
29 | swarm.initialize() |
||
30 | while OptimizationController.should_continue( |
||
31 | ordered_stages_to_optimize): |
||
32 | swarm.do_single_iteration() |
||
33 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.