Re: Exponential arrival distribution in Python

2012-11-29 Thread duncan smith
On 28/11/12 21:34, Ricky wrote: Hi all, I am doing a project on traffic simulation. I want to introduce exponential arrival distribution to precede this task. Therefore I want write a code in python for exponential arrival distribution. I am very new for programming and if anybody can help m

Re: Exponential arrival distribution in Python

2012-11-28 Thread Paul Rubin
Ricky writes: > I am doing a project on traffic simulation. I want to introduce > exponential arrival distribution to precede this task. Therefore I > want write a code in python for exponential arrival distribution. I've never heard of an "exponential arrival distribution" and googling fails. D

Re: Exponential arrival distribution in Python

2012-11-28 Thread Albert Chun-Chieh Huang
Hi, Ricky, Traffic simulation sounds like a good topic to use SimPy, which is a discrete-event simulation library in Python, c.f. http://simpy.sourceforge.net Professor Norm Matloff wrote a very good tutorial on SimPy, and you can download it here: http://heather.cs.ucdavis.edu/~matloff/simcourse

Re: Exponential arrival distribution in Python

2012-11-28 Thread David Hutto
I mean this one: for i in range(0,4): print "%i = %i" % (i * 10 **i) -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Exponential arrival distribution in Python

2012-11-28 Thread David Hutto
>> I am doing a project on traffic simulation. I want to introduce >> exponential arrival distribution to precede this task. Therefore I want >> write a code in python for exponential arrival distribution. I am very new >> for programming and if anybody can help me on this that would be great. Fi

Re: Exponential arrival distribution in Python

2012-11-28 Thread Ian Kelly
On Wed, Nov 28, 2012 at 2:34 PM, Ricky wrote: > > Hi all, > > I am doing a project on traffic simulation. I want to introduce > exponential arrival distribution to precede this task. Therefore I want > write a code in python for exponential arrival distribution. I am very new > for programming an

Exponential arrival distribution in Python

2012-11-28 Thread Ricky
Hi all, I am doing a project on traffic simulation. I want to introduce exponential arrival distribution to precede this task. Therefore I want write a code in python for exponential arrival distribution. I am very new for programming and if anybody can help me on this that would be great. Ch