| 8 | |
| 9 | |
| 10 | class SchedulingStrategy(ABC): |
| 11 | name = "abstract" |
| 12 | |
| 13 | @abstractmethod |
| 14 | def select(self, scheduler, req, satellite, sat_pos): |
| 15 | """返回 {method, ground_station, relay, relay2, rate} 或 None。""" |
| 16 | raise NotImplementedError |
| 17 | |
| 18 | |
| 19 | class GreedyMaxRateStrategy(SchedulingStrategy): |
nothing calls this directly
no outgoing calls
no test coverage detected