Agent-Based Modeling

Individual Rules, Emergent Behavior

In this session we explore agent-based models: simple local rules that produce global patterns. We focus on simulation, visualization, and interpretation.

Case Studies

Assignment

What do we need?

numpy

Efficient arrays to store agent states and positions.

matplotlib.pyplot

Plot agent positions and time evolution.

matplotlib.animation

Animate the system over time.