Skip to content

Simple predator-prey- and traffic-simulation (using the Nagel–Schreckenberg model)

License

Notifications You must be signed in to change notification settings

maxstrauch/wator-traffic-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WaTor- & Trafficsimulation

This project implements a WaTor simulation to analyse and show the behavior of predator-prey-models. In this implementation are sharks the predators and fishes the preys swimming together in a WAter TORus, e.g. a cyclic matrix representing the big sea.

Also a traffic simulation is implemented in manner of the Nagel–Schreckenberg model; it is implemented for:

  • highways with a single lane and traffic lights
  • motorways with two lanes to let the cars overtake

Screenshot of the program.

Get it running

In order to get it running, download the executable file and make sure that you have installed the latest Java version (Java 1.6+).

You can download the executable here: https://github.com/maxstrauch/wator-traffic-simulation/raw/master/build/wator-traffic-simulation.jar

License

See LICENSE.txt in the repo.

About

Simple predator-prey- and traffic-simulation (using the Nagel–Schreckenberg model)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages