| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from abc import ABC, abstractmethod |
||
| 12 | @abstractmethod |
||
| 13 | def satisfied(self, progress: T) -> bool: |
||
| 14 | """Check if the termination condition is True. |
||
| 15 | |||
| 16 | Args: |
||
| 17 | progress ([type]): [description] |
||
| 18 | |||
| 19 | Returns: |
||
| 20 | bool: True if the termination condition is satisfied, else False |
||
| 21 | """ |
||
| 22 | raise NotImplementedError |
||
| 23 |