Skip to content

JakubCzerny/02443-stochastic-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

066fd84 · Jun 24, 2017
Jun 23, 2017
Jun 20, 2017
Jun 22, 2017
Jun 22, 2017
Jun 15, 2017
Jun 23, 2017
Jun 22, 2017
Jun 22, 2017
Jun 22, 2017
Jun 19, 2017
Jun 24, 2017
Jun 23, 2017
Jun 23, 2017
Jun 23, 2017
Jun 23, 2017
Jun 21, 2017
Jun 16, 2017
Jun 19, 2017

Repository files navigation

02443-simulation

Dependencies

pip install numpy

pip install pygame

pip install sortedcontainers

File description

animation.py: Takes care of the animation of the cars

main.py: mainScript that lets user control spawn rate and other parameters

simulation.py: Simulater that has definitions for time step, and spawning vehicles

vehicle.py: The vehicle and human vehicle with attached decision propabilities and update rules

vehicle_container.py: The vehicle as an object, with dimensions and methods for getting relevant neighbors

visualisation.py: pygame base file for setting up the board and doing events

viz.py: Old visualisation file that has logic within the visualisation itself, look at it for inspiration, uses pygames sprites

Some design document:

https://hackmd.io/CYdgLAHAbF4LQFYBMAjApnMBOKY4qRAGM4JoAzEKCLCIgZgEYg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages