Hi! You can code loops, though explicit loops like FOR-loops in other languages are rare in NetLogo--there are often other, more useful, ways to iterate. ...
... fcylon> 1. How can i create different parameter for an agent as well as fcylon> assign value into them If I understand your question correctly, almost...
How could I let a agent wait for a while (e.g. 5 seconds) before executing a command on that agent. Bye, Aminul....
80
James Steiner
netlogo@...
Mar 2, 2009 12:11 pm
Sometimes, you can get away with just using the WAIT command. But those times are rare, since when a turtle is WAITing, nothing else happens. Really, the only...
Hi, You could use e.g. something of this type. Please read the documentation of every for details: to go . . . every 5 [ fd 1 ] end Warm regards, Muaz Niazi ...
Is there any command in Netlogo like "sleep" in java program. Just wait for some time before executing a command. I really looking forward to hearing from you....
Hi,all I have a question about NetLogo. I want a random 0-1 n*n matrix every tick. If i run 50 times, there will be 50 matrices. Here is a 5*5 sample: 01101 ...
Dear Niazi, thanks for your reply. the wait/every command is interesting. But while one agent is waiting, i could not execute any other command to other...
Thanks for your reply. The wait/every command is interesting. But while one agent is waiting, i could not execute any other command to other agents. Actually,...
... If you represent that array as a list of rows, each row a list of values, then yes. (NetLogo doesn't have 2-dimensional arrays.) to-report...
87
James Steiner
netlogo@...
Mar 16, 2009 1:53 pm
In this case, you simply need to add a flag to the agents, so they know to wait until that flag becomes false, or a count down, so they know how many ticks to...
88
James Steiner
netlogo@...
Mar 16, 2009 1:54 pm
Hi! Sure. N-VALUES and RANDOM will do the trick. let matrix n-values 5 [ n-values 5 [ random 2 ] ] ~~James...
Hi, Well, I think as long as the button calling the code is a forever button, some one else can confirm but turtles should work concurrently. Here is a...
... activist> Hi,all I have a question about NetLogo. I want a random 0-1 activist> n*n matrix every tick. If i run 50 times, there will be 50 activist>...
92
James Steiner
netlogo@...
Mar 16, 2009 9:44 pm
To make a list using the LIST reporter with more than 2 items (or less than 2 items), put parenthesis around the entire LIST command. This is just like what...
Greetings: I have been experimenting with the NetLogo simulaiton models. I want to execute a long running simulation in PAUSE and RESUME mode. Is it possible...
All: Last fall, the Institute for Analytic Journalism organized a widely distributed team of bi-lingual speakers to translate Prof. Michael Gizzi's fine...
... THX, James I have another preoblem about list. How can i know the permutation of the list? For example for this 0-1 list [01101101101110......] how to...
Hello. I'm a 4th year physicist at the University of Leicester and very happy to see such enthusiasm for agent modelling! I started using NetLogo about a week...
... iainweaver192> Hello. I'm a 4th year physicist at the University of iainweaver192> Leicester and very happy to see such enthusiasm for iainweaver192> agent...
Hi everyone, I have recently started using netlogo and I think it's great. I am trying to assign "memory" to the turtles, does anybody have an idea? The...
I would first make some new local variables for the things you want to remember. Then during the update routine for each cycle of the simulation, do some...
Tulu, This is easily done. The first step is declaring that turtles (or a specific breed of turtles) "own" additional attributes (variables), beyond those that...
I can't think of anything off the top of my head but this is an interesting problem. My gut instinct would be a series of IF THEN ELSE statements though there...
hello everyone, I am quite new at Netlogo and now I'm trying to make a turtle reach a goal just facing it and go forward, however when it comes in front a big...
Hello I have just explored the features of Netlogo latest version. I would appreciate if some one can give my basic questions that would be much helpful to use...
I am pretty new to Netlogo and I am having some troubles. I am trying to make it so the turtles will only pick from 13 of the base colors (red, orange, green...