First time I've heard is from this question which is what's confusing. But this is just psuedocode now, it signifies waiting until a slot on the track is empty before another train can enter.
Type: Posts; User: hcoyle545
First time I've heard is from this question which is what's confusing. But this is just psuedocode now, it signifies waiting until a slot on the track is empty before another train can enter.
heres the picture attached... ive since found that the code I posted was psuedocode. and the aim is to make psuedocode in that same format as mentioned above for this track.
The psuedocode I...
see thats what i'm unsure of. Our lecturer provided some code that he said would work straight out of the box for java, it was as follows:
Global Invariant: (NumberOfTrainsInAnySection <= 1) AND...
Hi JPF. I'm having trouble with a question given to us by our lecturer. The question is as follows
In a toy train circuit (figure of eight) trains can enter via section 5 or section 14, do a...