Computational Model Library

Peer reviewed MGA - Minimal Genetic Algorithm

Cosimo Leuci | Published Tue Sep 3 07:52:29 2019 | Last modified Thu Jan 30 08:42:08 2020

Genetic algorithms try to solve a computational problem following some principles of organic evolution. This model has educational purposes; it can give us an answer to the simple arithmetic problem on how to find the highest natural number composed by a given number of digits. We approach the task using a genetic algorithm, where the candidate solutions to the problem are represented by agents, that in logo programming environment are usually known as “turtles”.

Sugarscape with spice

Marco Janssen | Published Tue Jan 14 17:09:12 2020 | Last modified Fri Sep 18 16:31:42 2020

This is a variation of the Sugarspace model of Axtell and Epstein (1996) with spice and trade of sugar and spice. The model is not an exact replication since we have a somewhat simpler landscape of sugar and spice resources included, as well as a simple reproduction rule where agents with a certain accumulated wealth derive an offspring (if a nearby empty patch is available).
The model is discussed in Introduction to Agent-Based Modeling by Marco Janssen. For more information see


Omid Roozmand Guillaume Deffuant | Published Fri Sep 18 14:19:54 2020

This model investigates how anti-conformist intentions could be related to some biases on the perception of attitudes. It starts from two case studies, related to the adoption of organic farming, that show anti-conformist intentions. It proposes an agent-based model which computes an intention based on the Theory of Reasoned Action and assumes some biases in the perception of others’ attitudes according to the Social Judgement Theory.
It investigates the conditions on the model parameter values for which the simulations reproduce the features observed in the case studies. The results suggest that perception biases are indeed likely to contribute to anti-conformist intentions.

Leviathan - Single Group Model

Thibaut Roubin | Published Thu Sep 17 15:21:40 2020

The model is based on the influence function of the Leviathan model (Deffuant, Carletti, Huet 2013 and Huet and Deffuant 2017), considering that all the agents belong to the same ingroup. This agent-based model studies how sharing the same group identity reduce the potential negative effect of gossip.

We consider agents sharing a single group, having an opinion/esteem about each other, about themselves and about the group. During dyadic meetings, agents change their respective opinion about each other, about the group, and possibly about other agents they gossip about, with a noisy perception of the opinions of their interlocutor. Highly valued agents are more influential in such encounters. The expressed opinion of an agent about another one is a combination of the opinion about the other agent and the opinion about the group.

We show that the addition of the group in the Leviathan model reduce the discrepancy between reputations, even if the group is not very important for the agents. In addition, the homogenization of the opinions reduce the negative effect of gossip.

The model simulates agents in a spatial environment competing for a common resource that grows on patches. The resource is converted to energy, which is needed for performing actions and for surviving.

The uFUNK Model

Davide Secchi | Published Mon Aug 31 11:35:44 2020

The agent-based simulation is set to work on information that is either (a) functional, (b) pseudo-functional, (c) dysfunctional, or (d) irrelevant. The idea is that a judgment on whether information falls into one of the four categories is based on the agent and its network. In other words, it is the agents who interprets a particular information as being (a), (b), (c), or (d). It is a decision based on an exchange with co-workers. This makes the judgment a socially-grounded cognitive exercise. The uFUNK 1.0.2 Model is set on an organization where agent-employee work on agent-tasks.

NetLogo agent-based model to simulate the transmission of COVID-19 in a university dormitory. User can set the number of initial students, buildings, floors, rooms, number of initially infected, and transmission rate. They can also test the effect of masks, sanitizations, elevator allowance, and visits on the effect of the SEIR curve.


Deniz Kayar | Published Wed Aug 12 08:34:31 2020

This repository the multi-agent simulation software for the paper “Comparison of Competing Market Mechanisms with Reinforcement Learning in a CarPooling Scenario”. It’s a mutlithreaded Javaapplication.

Schelling and Sakoda prominently proposed computational models suggesting that strong ethnic residential segregation can be the unintended outcome of a self-reinforcing dynamic driven by choices of individuals with rather tolerant ethnic preferences. There are only few attempts to apply this view to school choice, another important arena in which ethnic segregation occurs. In the current paper, we explore with an agent-based theoretical model similar to those proposed for residential segregation, how ethnic tolerance among parents can affect the level of school segregation. More specifically, we ask whether and under which conditions school segregation could be reduced if more parents hold tolerant ethnic preferences. We move beyond earlier models of school segregation in three ways. First, we model individual school choices using a random utility discrete choice approach. Second, we vary the pattern of ethnic segregation in the residential context of school choices systematically, comparing residential maps in which segregation is unrelated to parents’ level of tolerance to residential maps reflecting their ethnic preferences. Third, we introduce heterogeneity in tolerance levels among parents belonging to the same group. Our simulation experiments suggest that ethnic school segregation can be a very robust phenomenon, occurring even when about half of the population prefers mixed to segregated schools. However, we also identify a “sweet spot” in the parameter space in which a larger proportion of tolerant parents makes the biggest difference. This is the case when parents have moderate preferences for nearby schools and there is only little residential segregation. Further experiments are presented that unravel the underlying mechanisms.

This model examines an important but underappreciated mechanism affecting urban segregation and integration: urban venues. The venue- an area where urbanites interact- is an essential aspect of city life that tends to influence how satisfactory any location is. We study the venue/segregation relationship by installing venues into Schelling’s classic agent-based segregation model.

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.