Re: [math] Poisson distribution to show how many ambulances are dispatched per hour

2015-08-31 Thread Ole Ersoy
Hi David, public static void main(String[] args) { int numberOfAmbulances = 20; PoissonDistribution ambulanceDistribution = new PoissonDistribution(9); for (int dispatched = 0; dispatched <= numberOfAmbulances; dispatched++) { System.out.println("Likelihood

Re: [math] Poisson distribution to show how many ambulances are dispatched per hour

2015-08-31 Thread Ted Dunning
David, The Poisson distribution tells you things like the probability of different numbers of ambulances being dispatched. For simulation purposes, it is usually far preferable to use the exponential distribution to compute the time of the next ambulance. In R, computing 100 dispatch times

RE: [math] Poisson distribution to show how many ambulances are dispatched per hour

2015-08-31 Thread Kulpanowski, David
Hi Ole: Thank you very much. This is exactly what I was looking for. Thanks, David -Original Message- From: Ole Ersoy [mailto:ole.er...@gmail.com] Sent: Monday, August 31, 2015 12:42 PM To: Commons Users List Subject: Re: [math] Poisson distribution to show how many ambulances are

[dbutils] Statement Configuration, 1.7 release?

2015-08-31 Thread John Huffaker
Hi All, I was curious if you were considering doing a 1.7 release anytime soon? A patchset that allows us to set query timeouts on underlying statements was added (http://svn.apache.org/viewvc?view=revision=1673781) and became more important for us when we moved from BoneCP (which sets it

Re: SCXML and Script and context access

2015-08-31 Thread Woonsan Ko
On Tue, Aug 18, 2015 at 6:27 AM, Sinisa Zec wrote: > Dears, > > > > We are using Apache SCXML2 for the project which is based on FSM logic. I am > trying for some time to achieve the following: > > > > 1.Set some variables in (Groovy)context from Java – X set of variables > >