Cellular Automata

1D Rules and Traffic

In this session we explore 1D cellular automata and apply them to traffic models.

Case Studies

1D Cellular AutomataAssignment

What do we need?

numpy

Efficient arrays for state updates.

matplotlib.pyplot

Visualize space-time diagrams.

matplotlib.backend_bases

Handle mouse clicks for interactive initial conditions.