MCPcopy Create free account
hub / github.com/Tong89/smartNode / SchedulingStrategy

Class SchedulingStrategy

backend/scheduling/strategy.py:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class 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
19class GreedyMaxRateStrategy(SchedulingStrategy):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected