I am trying to determine the sign of a number to use in a later calculation. I have code similar to the following:
In netlogo I have a procedure that calls another procedure. How can I go about getting the value for example, I have two breeds of agents, a hub and a link. A hub has开发者_开发问答 a local variable
I\'m replicating a small piece of Sugarscape agent simulation model in Python 3. I found the performance of my code is ~3 times slower than that of NetLogo. Is it likely the problem with my code, or c
I have a problem with my NetLogo scoring system. When a turtle goes over three square blocks I cannot get it to show the increments on my score monitor. Could someone please help?
The NetLogo turtles keep going through the walls of the maze. How do I stop them from going through the walls and instead have them change direction?
I am tryin开发者_如何学编程g to make a Frogger-like game in NetLogo and I need to create a timer that counts down. However, I looked in Frogger and used the same procedures that create the timer but i
while running thefollowing code if any? (turtles-on patch-ahead q) [ some commands ] where q is a number variable
I am trying to apply the following condition: if ( the color of patch -2 -1 is red ) [ some commands ]
I am trying to apply the following condition: if ( the color of patch -2 -1 is red ) [ some commands ] Could someone please tell me how to开发者_运维知识库 write this in NetLogo?if ([pcolor] of pat
I am trying to find if there is a turtle on patch-ahead n whose speed - acceleration is <= 0. The code I came up with is: