Exponential arrival distribution in Python
David Hutto
dwightdhutto at gmail.com
Wed Nov 28 17:52:24 EST 2012
>> 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.
First, I would suggest that you give yourself a GUI like tkinter,
wxpython to visualize the data. An average of the sequential(averaged
per 60 second intervals) traveled by drivers on the road, and at what
times.
Then, and I don't know why, but it seems you want a logarithmic, scale where:
for i in range(0,4)
print "%i = %i" % (i * 10 **i)
--
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com
More information about the Python-list
mailing list