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
0
votes
0 answers

Automatically create a 2D array simulations map

So I'm working on a agent based simulation and I'm going to use a 2D array which could be 500x5000 or 1000x1000. The actual simulation will consist of walls which make up rooms. The problem I don't want to manually insert each wall because this…
0
votes
1 answer

Multiple runs through GUI

I am trying to launch a GUI to my agent-based model (Repast) so that being able to run the model for many times. I am going to produce input parameters based on different distributions for different runs from GUI. Usually we should use batch file…
0
votes
1 answer

Netlogo. Patches categories from Landsat file

I am expanding a model looking at the effect of different types of fruit and fragmentation on a population of monkeys. The model reads a landsat file made up of 1's and 0s (representing forested and deforested areas) I need to reclassify the 1's…
Luna
  • 55
  • 3
0
votes
2 answers

How to make turtles face each other, wait 3 ticks and then keep wandering?

I am new to both, Netlogo and stackoverflow, but your other posts have already helped me a lot. I am currently trying to program a model, where agents randomly wander a space and have them stop whenever they meet. "Meeting" here means "passing each…
T-Saurus
  • 29
  • 4
0
votes
3 answers

c++ gis/spatial library for higher performance computing

So I am working on setting up an agent-based model that runs over a geographic map--syria in this case. I tried writing it in python, but the performance is rather slow--even after some optimization tricks. I was thinking that I should shift to just…
krishnab
  • 9,270
  • 12
  • 66
  • 123
0
votes
0 answers

Updating the JPanel Canvass from change in the collection

I have a collections of agents (objects), when the simulator begins each agent performs a act() method which updates their location in the environment (2D Array). My paintComponent(Graphics g) is overridden in a different class (which basically…
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,757
  • 4
  • 26
  • 39
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,884
  • 16
  • 24
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
  • 94,126
  • 40
  • 223
  • 295
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
  • 429
  • 2
  • 5
  • 13
-1
votes
0 answers

How to simulate the bone formation phase of bone remodeling using MESA library in python

I need to use an agent based model package (MESA) to simulate the bone formation phase of the bone remodeling process. The agents that I am using are Osteoblasts, Osteocytes and Bone Lining Cells. Osteoblast Functions and behavior: The function of…
-1
votes
1 answer

How to i make agents in AnyLogic avoid another moving agent?

I am trying to model an agent based model where a certain agent population of people avoid to get close to a single agent, a random moving VIP. I have tried to useif (distanceTo(main.vip < restrictedArea)) ;moveTo(uniform(500),uniform(500)) The…
-1
votes
1 answer

Slider from main changing variable in person agent

I am working on an Anylogic model, and am trying to do something but am stuck. What I want to achieve is basically being able to change a variable from within the person agent with the use of the slider from the main. My attempt to do this was…