From: Steven Boss Date: 2010-09-21T12:53:00+09:00 Subject: Re: need Help Simulation in ruby Brian Candler wrote: > > My advice to you would be the same: start by doing the simulation *by > hand*, using paper and pencil. Do it for at least 5 ambulances so that > you can be clear about the sequence of actions. Then automate that > sequence. > > The question seems ambiguous in several ways, so as you do it, write > down what interpretation you have chosen. For example, what does "15 + > 10 minutes" mean? Perhaps it means 15 +/- 10 minutes (i.e. 5 to 25), or > between 15 and 15 + 10 (i.e. 15 to 25). Is this a linear distribution, > i.e. all times equally likely? Is it discrete (exactly 5 or 6 or ... 25 > minutes), or continuous (any fractional value between 5.0 and 25.0)? thx for the response i'll try your advice thanks brain cheers -- Posted via http://www.ruby-forum.com/.