项目作者: DigiPie
项目描述 :
Agent-based-simulations developed using AnyLogic.
高级语言:
项目地址: git://github.com/DigiPie/agent-based-simulations.git
agent-based-simulations
Agent-based-simulations using AnyLogic
Schelling Segregation model
This is a Schelling Segregation model of household movements in the context of humans, orcs, elves and dwarves.
Properties
- Timescale is in Years.
- Household agents are either in Happy or Unhappy state. Every year, this state is updated with the following rules:
- Human and elf households are Happy when at least 3 neighbours are of the same race.
- Orc and dwarf households are Happy when at least 2 neighbours are of the same race.
- Every year, all Unhappy households jump to new random positions.
Preview

Usage
- Download schelling_segregation.alp
- Open and run the model using AnyLogic