Module oudiasecond

Module oudiasecond 

Source

Structsยง

OUD2Diagram ๐Ÿ”’
OUD2Line ๐Ÿ”’
OUD2Root ๐Ÿ”’
OUD2Service ๐Ÿ”’
OUD2Station ๐Ÿ”’
OUD2TimetableEntry ๐Ÿ”’
OuDiaSecondParser

Enumsยง

OUD2OperationType ๐Ÿ”’
OUD2ServiceMode ๐Ÿ”’
How a train would service a station
OuDiaSecondStruct ๐Ÿ”’
OuDiaSecondValue ๐Ÿ”’
Rule

Constantsยง

_PEST_GRAMMAR_OuDiaSecondParser ๐Ÿ”’

Functionsยง

load_oud2
make_graph_map ๐Ÿ”’
Creates the graph map from the list of stations in the OuDiaSecond data.
make_kdl ๐Ÿ”’
Converts the OuDiaSecond AST back into KDL format for debugging purposes.
make_vehicle_set ๐Ÿ”’
parse_diagram ๐Ÿ”’
parse_line ๐Ÿ”’
parse_oud2 ๐Ÿ”’
parse_oud2_to_ast ๐Ÿ”’
parse_root ๐Ÿ”’
parse_service ๐Ÿ”’
parse_services ๐Ÿ”’
parse_timetable_entry ๐Ÿ”’

Type Aliasesยง

StationVehicleSchedulePool ๐Ÿ”’
A pool of vehicles available at each station and track. This is because OuDiaSecond uses a service based model, while Paiagram uses a vehicle based model. OuDiaSecond does not keep track of which vehicle is assigned to which service directly, rather, each service would have events at different stations and tracks. This structure helps to map services to vehicles.