Spatial Segregation in Social Networks
Prerequisite – Introduction to Social Networks
Segregation refers to the act of separation of people from others or the main group.
Spatial Segregation refers to the distribution of social groups or any other elements in space. In Spatial Segregation, people tend to migrate to other places where they have more neighbors who are like them.
According to spatial segregation, it is unlikely that a person can stay at a place where the neighbors are very different from you and you cannot have a good conversation with your neighbor. A person will more likely to migrate to a place where his/her neighbors are similar to them and you can have a good conversation with your neighbor.
Let’s take an example – Assume you went to a foreign country for living and you are deciding where to take the house. So you will more likely to choose a place or locality where your neighbors are from your country and speaks the same language as yours and not a place where people are from a different country and speaks a different language. This is spatial segregation.
But sometimes it is not possible to have all neighbors as same as you. So for that, we can have some threshold value for similar neighbors to stay there.
Let’s take an example – Assume there is a total of 9 houses in your locality including yours and let’s say there is a threshold of 3 which means that at least 3 houses should be similar to you.
This spatial segregation has been modeled and this model is known as the Schelling Model. In the Schelling model, there is a grid having 2 different types of people and simulation describes how spatial segregation has been done using a wonderful model. Below is the implementation of such a simulation in Python.
A grid of 10×10 dimension is created for demonstration. Consider three groups of nodes which are differentiated with the colors red, green and white. Now Based on the Schelling model the nodes are moved towards the nodes similar to it. Here the similarity is based on the color. More the number of iterations, Less the number of unlike neighbors.