Skip to content
Snippets Groups Projects
Commit 52e44c6e authored by u214892's avatar u214892
Browse files

adding TrainrunDict

parent 5d19dcdc
No related branches found
No related tags found
No related merge requests found
from typing import NamedTuple, Tuple, List
from typing import NamedTuple, Tuple, List, Dict
# A way point is the entry into a cell defined by
# - the row and column coordinates of the cell entered
......@@ -16,3 +16,4 @@ TrainrunWaypoint = NamedTuple('TrainrunWaypoint', [
])
# A train run is the list of an agent's way points and their scheduled time
Trainrun = List[TrainrunWaypoint]
TrainrunDict = Dict[int, Trainrun]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment