
The Schelling Model (Algorithm)
Date: May 31st
In this session, Sina taught us how to use the Networkx library in python to work with graphs. We made a conditional graph to represent the houses and the neighbors. Then we came up with an algorithm to make the unsatisfied house-owners move in a way that the whole neighborhood would be happy. It’s a basic algorithm to teach us how to think of Social Dynamics and a step-stone to more complicated problems. In terms of applications, this algorithm can be modified to model the spread of infectious diseases.
Presented by: Sina Sajjadi, Physics Graduate and Computational Physics Lab assistant, Sharif University of Technology

The Schelling Model (Animation)
Date: June 7th
Today we discussed the basics of animation in Python using Matplotlib and made an animation for the implementation process of the schelling algorithm.
Presented by: Sina Sajjadi, Physics Graduate and Computational Physics Lab assistant, Sharif University of Technology