Python implementation of Epstein and Axtell's large scale agent-based computational model, the Sugarscape, to explore the role of social phenomenon such as seasonal migrations, pollution, sexual reproduction, combat, and transmission of disease and even culture.
In other words: Cellular Automata + Agents = Sugarscape.
This repository contains the base code that is being used in Sugarscape-Utilicalc, an implementation of Jeremy Bentham's Felicific Calculus in the Sugarscape, which can be found here: https://github.com/joshuapalicka/sugarscape-utilicalc
More info is available in the project wiki.
Code based on previous work by Hervé Lange: https://github.com/langerv/sugarscape
Install Python 3: https://www.python.org.
Clone the repository.
Our implementation requires matplotlib to run. You can install this library yourself, or through pip install -r requirements.txt.
In command shell, execute: python sugarscape.py
.
Edit settings.json
for the wanted simulation, run again.
- Schelling, Thomas C. (1978). Micromotives and Macrobehavior, Norton.
- Epstein, Joshua M.; Axtell, Robert L. (1996). Growing Artificial Societies: Social Science From the Bottom Up, MIT/Brookings Institution.