(self, leo_sats, all_gs, geo_relays)
| 12 | self.time_pool = {"satellites": {}, "ground_stations": {}, "geo_relays": {}} |
| 13 | |
| 14 | def init_pools(self, leo_sats, all_gs, geo_relays): |
| 15 | self.time_pool = { |
| 16 | "satellites": {s.sat_id: [] for s in leo_sats}, |
| 17 | "ground_stations": {gs["id"]: [] for gs in all_gs}, |
| 18 | "geo_relays": {geo["id"]: [] for geo in geo_relays}, |
| 19 | } |
| 20 | |
| 21 | def reset(self, leo_sats, all_gs, geo_relays): |
| 22 | self.usage = {"satellites": {}, "ground_stations": {}, "geo_relays": {}} |