Conditions | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.125 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Represents optimization strategy for PSO.""" |
||
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.