Search
in english whole site
»
Home·Programming·Jam Simulation 2deutsch·english·français
Contact & CommentsMinimizeHigherLower
» Visitor's comments
» Contact
StatisticsMinimizeHigherLower
» Hits: 35201  (details)
» Distinct visits: 2984 (1 Hit/visit)
» Bots visits: 32110 (Hits: 91.2%)
» Your hits in this session: 1
UserEnlargeHigherLower
Jam Simulation 2
A new version with a completely different (and now extensible and flexible, but heavier) data structure.

It is running below capacity limit (ca every 25 frames for 2 lanes). You can see the emerging pattern of clusters of cars forming with stop-and-go behavior. This is emerging because cars only take the car in front of them as reference in order to decide whether to accelerate or break. (they also look on left and right to change lane, but this is here not the most important factor). I assume this pattern would not appear as strongly if the cars would look one car further.

Internet Explorer Not Supported :(

Number of cars driving (blue); Number of cars entering (yellow); Average trip duration (orange):
Internet Explorer Not Supported :(
In absence of traffic jam, both curves will slightly oscillate to around constant value.
If there is a traffic jam, the blue curve will keep growing, until the yellow curve steps down.


ParametersSpawn Frequency: 1 car every iterations (if previous car is not too close).
Cars enteringTotal: Last 10 seconds:
Total number of cars driving:
Cars leavingTotal: Last 10 seconds:
Made with CSE_CMS, © CSE, 2008-2019