nkremerh / sugarscape

Development repository for the Digital Terraria Lab implementation of the Sugarscape agent-based societal simulation.
https://github.com/digital-terraria-lab/sugarscape
MIT License
7 stars 11 forks source link

Fixes Gini coefficient #98

Closed colinhanrahan closed 2 months ago

colinhanrahan commented 2 months ago

The main problems were:

I can rework it to still calculate the area under the line of equality if you don't like the magic number 0.5, but it seems intuitive to normalize it.