18 lines
434 B
1"""The problem a map file describes: a network and a drone count."""
2
3from dataclasses import dataclass
4
5from .network import Network
6
7
8@dataclass(frozen=True)
9class Scenario:
10 """Everything the solver and the simulator need about a map.
11
12 Attributes:
13 nb_drones: Number of drones waiting in the start zone.
14 network: The zones and connections they travel through.
15 """
16
17 nb_drones: int
18 network: Network