Skip to content

A 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, trade, culture, and transmission of disease.

License

Notifications You must be signed in to change notification settings

joshuapalicka/sugarscape

 
 

Repository files navigation

sugarscape

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

Instructions

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.

Example Run

t_100

Reference

  • 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.

About

A 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, trade, culture, and transmission of disease.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%