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.

372 questions
0
votes
1 answer

R agent-based proximity

I am trying to use R to model grids of agents that change their decisions based on the decisions of other agents in their direct proximity. Basically, each agent looks to the other agents around him on the grid, and might change its behaviour based…
user1885116
  • 1,601
  • 3
  • 22
  • 38
0
votes
1 answer

Having a simple increment-clock procedure on top of sorted by inclusive time list! Optimize netlogo code

In my simulation every tick clock value should increment by one, after resolving some of my other performance problems I have noticed this function is on top of the sorted by inclusive time list (the value is 960205 ms): Calls Incl T(ms) Excl T(ms)…
Marzy
  • 1,834
  • 14
  • 23
0
votes
2 answers

agent based programming using native programming language

so basically I am interested in building an agent-based simulation of a battleground. There are a lot of frameworks for agent-based models such as JADE, etc.. but due to certain constraint, I can only implement it using only native programming…
0
votes
2 answers

Agent-based modelling with temporal interaction?

I need to find an agent-based language or framework that allows the user to "rewind" the model, change some parameters and see how it develops with the new parameters. Basically - an ABM that allows its user to time-travel within the simulation and…
0
votes
1 answer

Updating NSView asynchronously from a thread

First of all, I'm an Objective-C novice. So I'm not very familiar with OS X or iOS development. My experience is mostly in Java. I'm creating an agent-based modeling-framework. I'd like to display the simulations and to do that I'm writing a little…
Vivin Paliath
  • 87,975
  • 37
  • 202
  • 284
0
votes
1 answer

Create list of class instances satisfying some condition on their attribute(s) value(s)

How can I create a sublist of class instances satisfying some condition on their attribute values, starting from the complete list of class instances? For example, I have a list of instances of my class Person(). These persons have many attributes,…
Wilco
  • 389
  • 2
  • 3
  • 13
-1
votes
0 answers

Netlogo: How to set a turtle's color to a random neighbor's color?

I'm now stuck with coding the following requirements: "Once the Go button is pressed, each white turtle should change their color to one of its non-white neighbours. If two non-white neighbours have different colors, they should cancel the link in…
Scarlett
  • 1
  • 1
-1
votes
0 answers

How to code the transition of the agent statechart for the moving agents in AnyLogic?

I’d like to simulate the moving agents in the continuous space for an epidemic model. Each pedestrian (agent) has an oval to represent the state. The statechart consists of susceptible (green), exposed (yellow) and infectious state (red). They are…
aurora
  • 1
-1
votes
2 answers

How to stop or suspend and restart “service delay" or the "delay" blocks from the agent based diagram?

By following your advice I’m constructing small models to learn how to use AnyLogic and build my simulation. I need discrete events diagram interacting with agent based, where the agent based will represent a “service process” based in a previous…
-1
votes
1 answer

Triggering actions form one agent to another in AnyLogic

I would like to ask if there is an example piece of code or command that I can use for the following situation. I’m using agent based together with discrete events, and I need to trigger a estate transition from the agent based model when an agent…
-1
votes
1 answer

agent based simulation for modeling a big company?

I am simulating an online shop having potential users, consumers, vendors and products as agents. each potential user can decide to join our online shop as consumer, vendor or both of them. the behaviour of each agent is modeled using Statecharts…
-1
votes
1 answer

Error when retrieving saved object using pickle

Working with the MESA agent based modelling package. Using pickle to save the state of my intermediate model. But when retrieving the saved model the execution ends up in error saying: File "/home/demonwolf/PycharmProjects/pythonProject1/main.py",…
-1
votes
1 answer

How to observe a turtle if it is not moving at that time instant ? (Netlogo)

in my model pedestrians are turtles so I want to observe when do they move and when they do not.i have given them property that if patch-ahead is not empty and they are not finding any empty patch in the cone 1 120, they will not move.so i want to…
user9913522
-1
votes
1 answer

Coding questions in an agent-based model of the capitalist economy

As part of my dissertation work, I will be working on a circuit of capital model of the capitalist system. I apologize for the long explanation/multiple questions, but my professors can help me only with the theory here, rather than the coding.…
-1
votes
1 answer

How to process with ABM

In my bachalar work I am supossed to build an model of terrorist attack in Tokyo in 1995 (sarin gas). I have never done heard anything about ABM until about a month ago. Now I am even able to do some simple models. However I would welcome some ideas…
Tomáš Nosek
  • 203
  • 2
  • 12
1 2 3
24
25