Computational Model Library

Prisoner's Tournament

Kristin Crouse | Published Wed Nov 6 05:39:54 2019 | Last modified Wed Dec 15 02:39:43 2021

This model replicates the Axelrod prisoner’s dilemma tournaments. The model takes as input a file of strategies and pits them against each other to see who achieves the best payoff in the end. Change the payoff structure to see how it changes the tournament outcome!

Modeling Prejudice And Its Effect On Societal Prosperity

no contributors listed | Published Sun Jun 27 19:20:28 2021

Existing studies on prejudice, which is important in multi-group dynamics in societies, focus on the social-psychological knowledge behind the processes involving prejudice and its propagation. We instead create a multi-agent framework that simulates the propagation of prejudice and measures its tangible impact on the prosperity of individuals as well as of larger social structures, including groups and factions within. Groups in society help us define prejudice, and factions represent smaller tight-knit circles of individuals with similar opinions. We model social interactions using the Continuous Prisoner’s Dilemma (CPD) and a type of agent called a prejudiced agent, whose cooperation is affected by a prejudice attribute, updated over time based both on the agent’s own experiences and those of others in its faction. This model generates various results that both provide new insights into intergroup prejudice and its effects, as well as highlight and reinforce certain existing notions of prejudice.

Stochastic vs. Deterministic Spatial PD

Andrew Bausch | Published Fri Nov 1 20:35:06 2013 | Last modified Mon Apr 8 20:39:01 2019

This model implements a Spatial Prisoner’s Dilemma with the option to change whether agents interact deterministically or stochastically.

Previous work with the spatial iterated prisoner’s dilemma has shown that “walk away” cooperators are able to outcompete defectors as well as cooperators that do not respond to defection, but it remains to be seen just how robust the so-called walk away strategy is to ecologically important variables such as population density, error, and offspring dispersal. Our simulation experiments identify socio-ecological conditions in which natural selection favors strategies that emphasize forgiveness over flight in the spatial iterated prisoner’s dilemma. Our interesting results are best explained by considering how population density, error, and offspring dispersal affect the opportunity cost associated with walking away from an error-prone partner.

Spatial model of the noisy Prisoner's Dilemma with reward shift

Matus Halas | Published Thu Mar 5 16:17:54 2015 | Last modified Tue May 29 09:09:01 2018

Interactions of players embedded in a closed square lattice are determined by distance and overall gains and they lead to shifts of reward payoff between temptation and punishment. A new winner balancing against threats is ultimately discovered.

Variations on the Ethnocentrism Model of Hammond and Axelrod

Fredrik Jansson | Published Sat Nov 10 16:44:28 2012 | Last modified Sat Apr 27 20:18:53 2013

Agents co-operate or defect towards other agents in a prisoner’s dilemma, with strategy choice depending on whether agents share tags or are kin in different social structures.

Agent-Based Model for the Evolution of Ethnocentrism

Max Hartshorn | Published Sat Mar 24 21:34:18 2012 | Last modified Sat Apr 27 20:18:21 2013

This is an implementation of an agent based model for the evolution of ethnocentrism. While based off a model published by Hammond and Axelrod (2006), the code has been modified to allow for a more fine-grained analysis of evolutionary dynamics.

A spatial prisoner’s dilemma model with mobile agents, de-coupled birth-death events, and harsh environments.

Prisoner's Dilemma Game on Complex Networks with Agents' Adaptive Expectations

Bo Xianyu | Published Wed Nov 16 11:34:40 2011 | Last modified Sat Apr 27 20:18:43 2013

This model studies the effect of the agents’ adaptive expectation on cooperation frequency in the prisoner’s dilemma game in complex networks from an agent based approach. The model is implemented in Repast simphony 1.2.

The provided source code is the result of our efforts in replicating Epstein’s Demographic Prisoner’s Dilemma. The simulation model is written in Repast/J 3.1.

This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.