in reply to Re: Re: Exceptional sorting
in thread Exceptional sorting
I believe that you can't get the topology of the train tracks and stations from the data you supply. You have the presented following table :
| Station a | Station b | Station c | |
|---|---|---|---|
| Train 0 | 1230 | ???? | 1245 |
| Train 1 | 1244 | 1245 | 1255 |
| Train 2 | 1245 | 0000 | 0000 |
| Train 3 | 1247 | 1248 | 1250 |
and you want to read from that table the following train track layout:
Station a Station b Station c --[]------->-------[]------>------[]--- \ (Train 0,1,2) / \ / \-------->---------/ (Train 3)
If that's what you want, it will be impossible, so you have to show much more of the implicit external knowledge about when one train overtakes another train and other rules which you don't mention.
|
|---|