Railcab

With Project Railcab we had to create an algoritm to simulate a single train track with multiple small trains (cabs) on it. When a passenger arrives at a station, he should be able to call for a “cab” and it should bring him to any location he wants.

Requirements:

  • Waiting times should be kept to a minimum
  • Cabs can only cross eachother at a station (only one rail between stations)
  • Train Simulation to show the algorithm

We where the only team that created both a  2D and a 3D simulation (I took care of the 3D simulation) and a track builder to build custom tracks.

Railcab Track EditorHere you can see the Track Editor which is also the 2D simulation GUI when you start the algorithm.

The custom tracks could be saved on your HDD and loaded when you want to run it or edit it some more. It was also possible to create different scenarios, so you could test the algoritm on different loads. For example you could make it very crowded from 8:00 till 9:00.

Used techniques

  • Java
  • Jogl library
  • My own dff/3ds model library

One thought on “Railcab”

  1. Hey,

    Do you still have this program available? I am looking for exactly something like this to run a simulation and I was wondering if you could be so kind to send the download link.

    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>