Search:

Type: Posts; User: hcoyle545

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    1,180

    Re: Use of await statement in problem

    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.
  2. Replies
    8
    Views
    1,180

    Re: Use of await statement in problem

    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...
  3. Replies
    8
    Views
    1,180

    Re: Use of await statement in problem

    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...
  4. Replies
    8
    Views
    1,180

    Use of await statement in problem

    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...
Results 1 to 4 of 4