traffic-simulation

Traffic Simulation based on Cellular Automaton Method

This project aimed to model the keep-right-except-to-pass rule using Cellular Automaton. The cellular automaton system is a discrete dynamic system consisting of a regular grid of cells, each in one of a finite number of states. And the state of each cell is updated every single discrete time step according to the updating rules, which are determined by the current state of the cell and the states of its neighbor cells.