Search:

Type: Posts; User: Leeness

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,453

    Re: Elevator simulation in event time, not clock.

    Hmmm, ok. Is this the only possible way of creating such a simulation (should be a very simple simulation) without multithreading? I would have assumed we would have covered these classes...
  2. Replies
    11
    Views
    1,453

    Re: Elevator simulation in event time, not clock.

    PirorityQueue class..? Is this a class I make? I feel like this is a different solution to the one quoted from my lecturer.

    Is the way you are describing, the same way as mentioned here?

    "The...
  3. Replies
    11
    Views
    1,453

    Re: Elevator simulation in event time, not clock.

    The "add initital events to queue in time order" part is what I am confused with, the rest I hopefully can handle. An event being... goToElevator ? How do I add that to a queue? And by queue, do you...
  4. Replies
    11
    Views
    1,453

    Re: Elevator simulation in event time, not clock.

    Any chance of you being able to show me what this would look like in code? Still struggling to implement this.
  5. Replies
    11
    Views
    1,453

    Re: Elevator simulation in event time, not clock.

    Is it possible to show me a quick example of what you mean? I can't seem to get off the ground with this. I'm sure once I have a bit more visual of what my solution needs to look like I can play...
  6. Replies
    11
    Views
    1,453

    Elevator simulation in event time, not clock.

    http://www.javaprogrammingforums.com/whats-wrong-my-code/26840-queue-simulation-3.html

    I have a very similar situation to what Norm discussed with this student last year.

    I am making a elevator...
Results 1 to 6 of 6