Skip to main content

Schelling model of neightbours segregation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schelling_model-0.0.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schelling_model-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file schelling_model-0.0.1.tar.gz.

File metadata

  • Download URL: schelling_model-0.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for schelling_model-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ae00f037507006378681475cc8e6e472802ed3f77f061230319d38a248bc403a
MD5 28676d8e97f28fac604f1d636a2329d9
BLAKE2b-256 f52ca2a6ba77cbaf8614e70a38895ee654905419ddeb95df1b97e1b077cf151e

See more details on using hashes here.

File details

Details for the file schelling_model-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for schelling_model-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d69c21f4a4107cc554e1d0e16c04f5772fe3f94c268878747f2b2ff4548579c
MD5 2ef12f9f5ba442a8cb39d464e4e80931
BLAKE2b-256 d014f1a3bd632e81685d8c002a678d493265e3a1c42cd28fe8ff8bce15857ea5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page