artificiall, agent, movement

Gerry gerard.blais at gmail.com
Mon May 12 09:50:49 EDT 2008


Many city travel surveys collect source destination trip-start data;
you might be able to find one of these studies.

I think each car in your simulation should have a destination.  Then
the simulation needs a route-finder, and cars can progress along their
routes as traffic permits -- or even change routes if traffic seems
too slow.

I think if you start with a very small city -- perhaps just a 5 by 5
grid, and generate sources and destinations at intersections randomly
along the perimeter, you'll have enough to prototype all of the
building blocks.

Gerry


On May 12, 6:37 am, Iman <iman.dar... at gmail.com> wrote:
> hi
> i'm working on some simulation project . i'm going to simulate traffic
> of a city.
> this simulation has cars , passengers , non-movable objects and
> Traffic signals  .
> i've made cars as intelligent agent . it has thinking method ,
> changing states agents ...
> the main problem is i have problem to move my agents in world .
> it would be possible to add some method to agent which move  agent in
> random  destination .
> but i'm trying to find some patterns which is designed  for this
> problems .
> is there any sample source code in python or links, docs to help me ?
>  thanks for your attention .




More information about the Python-list mailing list