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...
Type: Posts; User: Leeness
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...
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...
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...
Any chance of you being able to show me what this would look like in code? Still struggling to implement this.
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...
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...