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
2 answers

How to set AID for JADE Agent?

I'm just starting with JADE agent based modeling. My hello world example looks like this - public class HelloWorldAgent extends Agent { protected void setup() { System.out.println("Hello World! My AID is "+this.getAID()); } } And I call this…
2
votes
2 answers

Is there a programming language oriented to description of interaction between agents?

I want to create different kinds of processes in which agents interact with each other. I want to describe (define, formalize) processes of interaction between agents using a special language. In other words, I want to provide an environment where…
Roman
  • 124,451
  • 167
  • 349
  • 456
2
votes
1 answer

AnyLogic Agent-Based simulation agents value transfer

I'm quite new with Java & AnyLogic so please get on my level for this one. Is there a way for agents to get a variable value from another agent? In that case, agents would be of the same type. Thus, they all have the same variables, but since it's…
2
votes
1 answer

Dynamically create turtles

Is there any way to dynamically create turtles? Whenever I try to create new random turtle in my "go" procedure, I get an error that I can't use crt in a turtle context. I need to be able to add some more turtles "on the fly" and creating a lot of…
jacek_podwysocki
  • 807
  • 10
  • 30
2
votes
1 answer

NetLogo: ask link-neighbors for a tick-counter value

At the moment I am working on an agent-based model about successful innovation diffusion in social networks. So far I am a newbie in agent-based-modeling and programing. The main idea is to model social learning among farmers, hence the agents…
Moritz
  • 55
  • 4
2
votes
2 answers

Turtle Behavior after asking for Patch Evaluation

I'm creating a fish-tank style simulation in NetLogo. There are "prey", "predators", and "hidingspots". The idea is that when a predator appears on the map, the prey will individually run the "hide" behavior and head to the nearest "hidingspot" -…
JT93
  • 461
  • 1
  • 3
  • 13
2
votes
1 answer

comparison of two code-brackets which should do the same

Sorry if I annoy you, but my teacher says that this code[1] is not nice enough and I should work with agentsets instead of invidual values. Code[1] (first code worked very nice) let temp_ahead [(output-heat + 1)^ Freedom] of patch-ahead 1 let…
2
votes
4 answers

How make a list of cumulative sum in netlogo

How can i make a list of cumulative sum of a other list? i tried it that way: ;;all temperatrue-values around the turtle saved in list set temperature_values (list [(output-heat + 1)^ Freedom] of neighbors) ;;build cumulative value of…
2
votes
1 answer

Stop the procedure when the population of agents have the same variable in Netlogo

I am trying to stop my simulation when most of the population of agents have the same own variable value but I really don´t know ho to do it. Here is my code for the creation and the procedure of my model: breed [birds bird] birds-own [high] …
Paul
  • 189
  • 6
2
votes
1 answer

How can I take real time data from a web site using NetLogo?

We are trying to let NetLogo take the real time data, but we didn’t found any threads helpful online that tells how. We used historical stock price data to train our agents in the first stage. After the end of the training phase, we would like to…
randals
  • 70
  • 3
2
votes
3 answers

How to run several procedures simultaneously in NetLogo?

There are different colored turtles in my model each operating under different rules. I want procedures governing the movement of one turtle(say, red turtle) to run simultaneously with other procedures governing the movement of different colored…
2
votes
1 answer

Is it possible to run RepastJ model in a web browser

I am new to agent based modeling, and am running the demo model that come along with the RepastJ (Repast 3). Is it possible to run the simulation in a web browser? Thanks in advance.
jpr
  • 185
  • 3
  • 6
  • 20
2
votes
1 answer

Effectively deactivating specific links between specific agents and breeds in a social network

A social network of agents of different ages is set up in NetLogo similarly to the following, which results in a circle of agents connected by links. The overall purpose of these links is to represent contact between those links. The model simulates…
Steve
  • 43
  • 1
  • 7
2
votes
1 answer

Creating a social network of linked NetLogo agents of different breeds

I'm trying to put together a "social network" of sorts in NetLogo. A group of people of different age groups who are connected by links. I'm having trouble with how to put it together because I'm still not fully familiar with some parts of NetLogo's…
Steve
  • 43
  • 1
  • 7
2
votes
2 answers

ABM under python with advanced visualization

sorry if this all seem nooby and unclear, but I'm currently learning Netlogo to model agent-based collective behavior and would love to hear some advice on alternative software choices. My main thing is that I'd very much like to take advantage of…
neither-nor
  • 1,245
  • 2
  • 17
  • 30