Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34039
| References | <f241ce20-2bca-4ced-814c-5143f0d82ca4@googlegroups.com> <CALwzidkpeUh4sk9koL0fSWfvpUVXMXstpUq1v+mDgZN2ttWYhg@mail.gmail.com> |
|---|---|
| Date | 2012-11-28 17:52 -0500 |
| Subject | Re: Exponential arrival distribution in Python |
| From | David Hutto <dwightdhutto@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.348.1354143147.29569.python-list@python.org> (permalink) |
>> 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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Exponential arrival distribution in Python Ricky <rakkitha263@gmail.com> - 2012-11-28 13:34 -0800 Re: Exponential arrival distribution in Python David Hutto <dwightdhutto@gmail.com> - 2012-11-28 17:52 -0500 Re: Exponential arrival distribution in Python David Hutto <dwightdhutto@gmail.com> - 2012-11-28 17:55 -0500 Re: Exponential arrival distribution in Python Paul Rubin <no.email@nospam.invalid> - 2012-11-28 15:25 -0800 Re: Exponential arrival distribution in Python Albert Chun-Chieh Huang <alberthuang314@gmail.com> - 2012-11-29 07:29 +0800 Re: Exponential arrival distribution in Python duncan smith <buzzard@invalid.invalid> - 2012-11-29 16:24 +0000
csiph-web