Questions tagged [agent-based-modeling]

Agent-based modeling is a computer simulation method where agents make decisions based on their interactions with each other and their environment. It combines elements of game theory, complex systems, emergence, computational sociology, multi-agent systems, and evolutionary programming.

From Wikipedia:

An agent-based model (ABM) (also sometimes related to the term multi-agent system or multi-agent simulation) is a class of computational models for simulating the actions and interactions of autonomous agents (both individual or collective entities such as organizations or groups) with a view to assessing their effects on the system as a whole. It combines elements of game theory, complex systems, emergence, computational sociology, multi-agent systems, and evolutionary programming. Monte Carlo Methods are used to introduce randomness. ABMs are also called individual-based models.

474 questions
2
votes
1 answer

How to create a list of lists in NetLogo?

I want to create a list of lists in NetLogo. What I have is the following: let a [] let b [] let c [] let d [] let l-o-l list [a b c d] But then I get : LIST expected 2 inputs on the right or any inputs when surrounded by parentheses. with the list…
2
votes
1 answer

Repast - Pack and distribute the model as jar without GUI and source code

Previously I am working with an ABM model, which is now turning to be put into the production environment (embed it into an online platform system). In order to do this, I have two important objectives to achieve: How to pack and distribute the…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
2 answers

How I can iterate through a population to get the nearest agent of mine and check agent's distance dynamically?

I am trying to do an epidemic spread modeling where all the agents are moving in a continuous space. All the agents have a certain "fieldOfVision" area. If within this "fieldOfVision" of a "susceptible" agent another agent who is "exposed" comes &…
Tariq
  • 57
  • 6
2
votes
1 answer

Turtles asked to go to certain areas are all congregating in one place

I am writing a predator-prey model where the predator has a small internal machine learning model to decide which habitat it is going to hunt in. If the predator has not had a successful hunt the day prior they assign themselves on of four…
Kilian Murphy
  • 321
  • 2
  • 14
2
votes
1 answer

Calculate index of dissimilarity in NetLogo

I'm want to calculate the index of dissimilarity in NetLogo. I have a world divided into different regions and want to examine how evenly species are distributed around the world. Consider this example: A world is divided into 16 different regions.…
ecl
  • 369
  • 1
  • 15
2
votes
2 answers

NetLogo: pair lists containing similar elements

I wonder if anyone can help with this question for which I am a bit lost. I have turtles with three-dimensional boolean lists [a b c] where a, b, c in {0, 1}. I would like each turtle to create a link with another one who has 1 on all the same…
lomper
  • 379
  • 1
  • 12
2
votes
1 answer

Calling a Repast model with a list of model parameters

I have an agent-based model which is developed in Repast. To calibrate the model, I need to run the model with a list of parameters. And, use some optimization algorithms to find the best parameter set (minimizing some loss value). I wonder how to…
Haifengz
  • 31
  • 2
2
votes
2 answers

How to select/ask more breeds at once?

I have 8 different breeds in my model. Some of them share similar traits. Anyway, lets suppose that my breeds are breed [ humans human ] breed [ dogs dog ] breed [ cats cat ] breed [ horses horse ] breed [ elephants elephant ] breed [ mouses mouse…
Anajlim
  • 71
  • 6
2
votes
2 answers

Repast Java: scheduling agent and global behaviors in a structural way

I am previously working with Netlogo for years and I am very much getting used to developing the agent-based model based on a set of procedures. An example of supply chain simulation model structure looks like below: ;;the main simulation…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast: how to get a particular agent set based on the specific conditions?

I am previously working with Netlogo and there are some very good built-in methods that allow me to filter and control the desired agents from the total population. (see: http://ccl.northwestern.edu/netlogo/docs/dictionary.html#agentsetgroup). For…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast: Is there a link type of agent like Netlogo?

I used Netlogo a lot and I found it is not constraining anything I want to build. However, I am interested to learn Java based ABS for bigger engineering project. One of the key question is if there is a agent type as link (directed and undirected)…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Agent-Based Simulation: Why Netlogo is running much faster than Java based Repast

Everyone says Jave is a language for large system and engineering project, which runs much faster than most other languages. I just compared it with another Agent-based modelling lanugage - Netlogo and I found Netlog runs FOUR TIMES FASTER than Jave…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Dead letters encountered in Akka when routing between sibling Actors

I am trying to build an agent based model where part of the model involves agents broadcasting decisions. First I initialize exactly four actors with a tracking parent, then I make them each "declare" their decisions in a specific order. I expect…
Layman
  • 797
  • 1
  • 7
  • 23
2
votes
1 answer

Netlogo: Making a turtle interact with anotherone after evaluating similarity in a given variable

I have several turtles each with three variables opinion1, opinion2 and opinion3. I need them to: identify which of these three variables has the highest value find another turtle in their network with a value at least as high as the one found in…
lomper
  • 379
  • 1
  • 12
2
votes
1 answer

Anylogic moving average of processing times

in my model I have 9 different service blocks and each service can produce 9 different features. Each combination has a different delay time and standard deviation. For example feature 3 need 5 minutes in service block 8 with a deviation of 0.05,…
Marie
  • 35
  • 3