Traffic simulator in container shipping yard
Posted on 2013-02-05
Hello again, Experts!
I have been tasked by my manager to write an app that would simulate traffic in a container shipping yard. The premise is that there are 8 entry gates that trucks could come in, wait for a minute to complete their transaction, then move on to the drop-off point. My problem is that when two or more trucks overlap within the 1 minute interval, the next truck should get in through the next available gate while the previous truck continues its process. So I am thinking that this would most likely employ multi-threading.
I have only been writing apps using VB.NET for a little over a year and I am still learning new things everyday. However, most of the apps I've written merely involves data access and reporting, which I'm already comfortable with. This is the first time that I would be writing a simulator app so any ideas or references you could point me to would be very much appreciated.