Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Station-to-Station

Fuctions $void void railArrival(int train, int station)$ and $int int railDeparture(int train)$ should be used at the end of every Station-to-Station-Controller.

At the end of every Station-to-Station-Controller the trains should stand in one station, because every Controller controller starts with the train in standstill. 

TrainController

Train-Schedules should be modelled by putting together the Station-to-Station-Controllers for every train in individual regions.

Speed:

...

  • SLOW: for the stations
  • CAUTION: for points and slowdown
  • NORMAL: for the other tracks

...