Total Complexity | 1 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Represents optimization strategy for PSO.""" |
||
4 | 1 | class OptimizationStrategy: |
|
|
|||
5 | """Represents optimization strategy for PSO.""" |
||
6 | |||
7 | 1 | def get_group_optimization_strategy(self, stages_in_group): |
|
8 | """ |
||
9 | Return optimization strategy for group. |
||
10 | Args: |
||
11 | stages_in_group (list): stages in group |
||
12 | |||
13 | Raises: |
||
14 | NotImplementedError: when method not implemented. |
||
15 | """ |
||
16 | raise NotImplementedError |
||
17 |
Abstract classes which are used only once can usually be inlined into the class which already uses this abstract class.