Metadata-Version: 2.1
Name: schelling-model
Version: 0.0.1
Summary: Schelling model of neightbours segregation
Author: quim
Author-email: <quimort97@gmail.com>
Keywords: python,schelling,segregation
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: scipy


# schellings-model

schellings model of racial segregation



# Description

In this project i'm gona a developa a simulation of Schellings model of racial segregation to study witch factorm lead to the segregation of the population in citys.

The project will have a firs version where the only parameter that will be taken in acount is the satisfaction ratio that defins how satisfaid is a person with is neighbors, the parametes defins the minimal number of same kinf neighborus each egent neads to be happy in the position that is raight now and if it's not happy with the position the agent will move to a vacant position, this proces will be repited until all the agents are happy or until ther is no more vacant places where to be happy.



# Graphic interface

Using the streamlit library we can play with the vaues of diferent paraemters to see what happends on each case.



# Version 2



In this version 2 i will aplay the clasic Schelling, considerein only one muvment at a time and onli moving if there is a position where it will be happy.

