I'm on a project for a railway company, now I want to test my application with some data. Here's the problem, the data I need is like a time table like below:
departure_location arrival_location departure_time arrival_time
a b 2015-04-01 08:00 2015-04-01 08:30
b c 2015-04-01 09:10 2015-04-01 09:44
c d 2015-04-01 10:05 2015-04-01 12:00
...
The difficulty is that the generated timetable should be logical. That means the the arrival time of each stage should be later than the departure time but earlier than the departure time of next stage. And I want the ability that I can specify a time range, and the dynamic timetable will just be generated beautifully. I'll be the best If I can even configure how much time a train runs from source to destination and how long it stays on the arrival location until it departure again.