... Michael> Hi all, I have encountered another problem, this time with the Michael> MOD primitive, in a project of mine: Michael> set player (1 + player) mod...
If your want to use the rows of the Pascal triangle, you also might do this: to-report binomrow [n] locals [prevrow] if n = 0 [report [1]] report (map [?1 +...
... Michael> Hi all, for a game I would like to write in NetLogo, the Michael> computers on the local area network need to exchange Michael> data. Does every...
... Erich> If your want to use the rows of the Pascal triangle, you also Erich> might do this: Erich> to-report binomrow [n] locals [prevrow] if n = 0 [report...
Hello, Which is the best way to determine if a set of patches form an island? One can imagine that a turtle may try to determine if there is an island of...
nitin_raje@...
May 1, 2004 1:37 pm
1817
... nitin> Hello, Which is the best way to determine if a set of patches nitin> form an island? nitin> One can imagine that a turtle may try to determine if...
I'm currently working on a NetLogo model that simulates a stack machine. I want my students to be able to write stack machine programs in NotePad, and then...
Sorry, this is of course what I meant, bit I had trouble with my code because i forgot some parentheses, and then I submitted a version which was an ...
I found the answers to my questions. Here's how to browse for a file to open: set myFile user-choose-file ifelse file-exists? myFile [ file-close-all ...
The following models were recently added to http://ccl.northwestern.edu/netlogo/models/community/ . Users are encouraged to submit their own models. Stack...
Seth, Many thanks. 'Clusterdetect.nlogo' is very interesting. It also works perfectly well if one did not assert 'pcolor = 0'. It can then detect connected...
nitin_raje@...
May 3, 2004 2:05 pm
1823
hello moderator, i am 21yrs and a Nigerian and new in your group and i dont know much about what you guys do. so i'd like you to brief me well. i'm still...
Nitin, One thing you need to decide, definitionally speaking, is whether a cluster of patches can have a "hole" in it and still be considered an "island". If...
... nitin> Seth, Many thanks. 'Clusterdetect.nlogo' is very interesting. It nitin> also works perfectly well if one did not assert 'pcolor = 0'. It nitin> can...
... Once the patches know who they are "attached" to, the turtles can read that cluster number too. They can therefore also tell if they are on an island edge,...
Steiner, James
James.Steiner@...
May 3, 2004 7:43 pm
1827
Hi all ! I wondered if it was possible to controle directly a value in a list with a graphical slider in the GUI of Netlogo using the sliders button. I tried...
... Eliot> From my reading of the docs, it looks like in a computer hubnet Eliot> model, the client machines send data to the server when the Eliot> client...
I can't find anything in the User Manual that mentions either a case insensitive string matching primitive or a primitive that converts a string to upper-case....
I was wondering if anyone can comment on performance issues in a NetLogo code. For instance what is faster for looping a "map" vs. "foreach" vs. "loop". ...
... Teresa, I sent you an offlist copy of my earlier post regarding upper/lower case conversions, at the end are a set of reporters that will perform those ...
Steiner, James
James.Steiner@...
May 4, 2004 4:02 pm
1832
This is a yahoo-list-management related question. Is it possible to configure the list so that posts include the message number somewhere in the posting? If...
Steiner, James
James.Steiner@...
May 4, 2004 9:07 pm
1833
... Mecobi, I'll add 'vs. "repeat"' to that list. I've not examined those particular items yet, but I have done quite a bit of code performance testing using...
Steiner, James
James.Steiner@...
May 4, 2004 9:08 pm
1834
Thanks, James. It looks like your approach is more elegant than what I had come up with so far, which follows. I'll think about how to do the current task...
... Yes, I need turtles to figure out islands. I am not sure if I could use 'clusterdetect.nlogo' approach because I cannot mark out the clusters once for all,...
nitin_raje@...
May 5, 2004 9:20 pm
1836
I'm not sure that this counts as a bug, so I guess it's a "feature". From inside a to-report procedure, I can ask turtles to do things, and they appear to...
Volker> I looked through the NetLogo license and the licenses of some Volker> of the components and am not quite sure about what is actually Volker> permitted...
... Teresa> I'm not sure that this counts as a bug, so I guess it's a Teresa> "feature". From inside a to-report procedure, I can ask Teresa> turtles to do...
Friends, Attached please find a short model that provides a framework for testing the run-time of code segments. Documentation is in the Information tab. Hope...
Steiner, James
James.Steiner@...
May 7, 2004 4:20 pm
1840
Hi all, a short follow-up report from the our second NetLogo programming class: The children were in a alltogether different mood today, by far not as ...