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
4
votes
1 answer

How to generate different 2D displays in Repast Simphony (gui or style code?)?

I have built a 3D model in repast simphony and it is working (fairly) well. However, due to the nature of the model, agents tend to form dense clumps. I was wondering if there is a way to generate a 2D slice or cross section through the middle of…
Catherine
  • 83
  • 4
4
votes
1 answer

Asking Turtle to evaluate color of different breed of Turtle

I'm building interactions for a prey-predator model. I have a prey that changes color based on the state that it is currently in. The state that I'm working on is "hiding", in which the prey is yellow. I have a predator working to evaluate if it can…
JT93
  • 461
  • 1
  • 3
  • 13
4
votes
2 answers

Netlogo, how to make turtles follow paths between patches of the towards a destination

Hello I am trying to model the movement of tourists within a national park, the Idea of the model is that the tourists follow the paths of this national park and they stop in the camp-grounds for a time. I have two problems, using the NW I found out…
Derek Corcoran
  • 3,930
  • 2
  • 25
  • 54
4
votes
2 answers

Agent decision making in repast simphony using java uses a lot of memory

I am building a model with a number of autonomous agents. They make decisions on which object to choose within their immediate environment or "neighborhood". They do this retrieving the objects, add them to a list, sort the list based on…
Taylor Marie
  • 357
  • 1
  • 15
4
votes
0 answers

What are the bottlenecks in implementing parallelism in NetLogo?

What are the specific implementation problems or bottlenecks that need to be tackled to implement an agent-based model or ABM modeling software, such as NetLogo? TL;DR version: What are the issues associated with implementing ABM software, NetLogo…
Agent
  • 41
  • 2
4
votes
1 answer

Changing shape of normal distribution by a slider

I am new both to NetLogo (NL) and Stackoverflow. I am working on NL model of opinion formation and I am stuck with following problem (googling or anything else didn't work for me). First, turtle-own property turtles-own [opinion] is defined. Next,…
4
votes
3 answers

A potential multi-agent system?

For an assignment I have to make a multi-agent system (very open ended, but a short project), something like predator/prey or traffic simulation? It will be written in Jason/Agent speak. I am at a loss for ideas as to what to actually implement…
Paulo
  • 198
  • 1
  • 1
  • 7
4
votes
1 answer

Netlogo, creating obstacle avoidance algorithm

I am simulating pedestrian motion in NetLogo, and am having trouble creating an obstacle avoidance algorithm from scratch. There are algorithms online but they are not suited for moving obstacles (other pedestrians). In addition, my agents are…
3
votes
1 answer

Netlogo - Turtle-Patch interaction with string-variable

I need help in Netlogo: when a turtle interacts witch a patch where it is currently placed on and the patch-variable (which is a string) decides if the turtles variable (which is an integer) grows. For example: turtles-own [weight] patches-own…
Goku
  • 31
  • 3
3
votes
1 answer

Can I use simpy to do agent-based simulation?

I know that simpy is a process-based discrete-event simulation framework. I have several agents that might do different things at the same time. Can I still use simpy to simulate my agents? For example, a car arrives to a parking lot. Then the…
3
votes
0 answers

Loading GIS data in a complex NetLogo model

This is a hunter-gatherer agent-based model I am attempting to integrate GIS layers in:…
3
votes
1 answer

Netlogo: creating specific links between turtles with information from csv

I'm working on a simulation of social behavior in an emergency situation, using anonymized data from an actual event. Below is the section of code I'm using to create the 'people' turtles. to read-people-from-file [filename] let rows bf…
Chiomi
  • 53
  • 6
3
votes
0 answers

Genetic Programming in Agent Based Modeling with NetLogo

I have an Agent-Based model written in NetLogo. Now I want to take it to next level and evolve my agents as Genetic Programming population. I want a way to incorporate the genetic programming part into my NetLogo model, either through an interface…
3
votes
1 answer

creating agents using the CSV example in the models library in Netlogo

I have a question about the number of turtles created from this code : to read-turtles-from-csv file-close-all ; close all open files if not file-exists? "turtles.csv" [ user-message "No file 'turtles.csv' exists! Try pressing…
user710
  • 161
  • 2
  • 12
3
votes
1 answer

Limit the number of links an agent can make

I have turtles linking if they have an equal value for var1 (this works fine). I want to limit the number of links to just three. I added an IF statement before the linking part of the code (If count my-links < 3), but it does not work; the agents…
1
2
3
31 32