| Conditions | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """Represents optimization strategy for group in PSO.""" |
||
| 30 | 1 | @staticmethod |
|
| 31 | def finalize(best_particle): |
||
| 32 | """ |
||
| 33 | Strategic method which must set correct status for all stages. |
||
| 34 | |||
| 35 | Args: |
||
| 36 | best_particle (Particle): best particle in swarm |
||
| 37 | |||
| 38 | Raises: |
||
| 39 | NotImplementedError: if not implemented. |
||
| 40 | |||
| 41 | """ |
||
| 42 |