We need more info...
What is the intended behaviour?
Should the lorry appear once every x seconds?
Once the level starts?
After a random amount of time?
We need more info...
What is the intended behaviour?
Should the lorry appear once every x seconds?
Once the level starts?
After a random amount of time?
Date Time Apple Orange Pear
10/10/2009 7:00 1
8:00 1 1
The Date and time are the "Cartons or pallets" arrival dates and times, they arrive in the trailer of the truck
I need to convert this data into the probability of truck arrival time....
Thanks
Jack
I dont understand this list.
Doesn't it mean that the truck will always arrive at a specified time? If so, why the randomness?
so you have a list of trucks that arrive after a specified amount of minutes plus or minus a random amount of minutes. And you want to take the next truck out of this list when the amount of minutes has passed.
Is this correct?
Come on... I'm not going to write the code for you. My last post should have all the info you need to implement something that you can build upon.
If you want to model number of arrivals in a discrete time period (e.g. number of arrivals per hour, with some mean number of arrivals per time unit), you want to use the Poisson distribution:
http://en.wikipedia.org/wiki/Poisson_distribution
If you just want to model time between arrivals (with a certain mean time of arrival) you want the exponential distribution: