... Michael> Hi all, while working at my current "model" (a game), I Michael> noticed two kinds of strange behavior from the NetLogo Michael>...
1812
Seth Tisue
sethtisue
May 1, 2004 7:36 am
... 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...
1813
Erich Neuwirth
neuwire6
May 1, 2004 7:36 am
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 +...
1814
Seth Tisue
sethtisue
May 1, 2004 7:36 am
... 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...
1815
Seth Tisue
sethtisue
May 1, 2004 8:53 am
... 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...
1816
nitin_raje@...
May 1, 2004 1:37 pm
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...
1817
Seth Tisue
sethtisue
May 1, 2004 4:47 pm
... 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...
1818
Teresa Carrigan
prof_tcarr
May 2, 2004 3:07 pm
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...
1819
Erich Neuwirth
neuwire6
May 2, 2004 3:08 pm
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 ...
1820
Teresa Carrigan
prof_tcarr
May 2, 2004 3:09 pm
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 ...
1821
Seth Tisue
sethtisue
May 3, 2004 4:11 am
The following models were recently added to http://ccl.northwestern.edu/netlogo/models/community/ . Users are encouraged to submit their own models. Stack...
1822
nitin_raje@...
May 3, 2004 2:05 pm
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...
1823
yolawepo
May 3, 2004 2:06 pm
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...
1824
Jerry Balzano
gjbucsd
May 3, 2004 5:54 pm
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...
1825
Seth Tisue
sethtisue
May 3, 2004 6:24 pm
... 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...
1826
Steiner, James
James.Steiner@...
May 3, 2004 7:43 pm
... 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,...
1827
chaouche yacine
yacinechaouche
May 3, 2004 7:44 pm
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...
1828
Seth Tisue
sethtisue
May 4, 2004 2:36 am
... 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...
1829
Teresa Carrigan
prof_tcarr
May 4, 2004 2:37 pm
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....
1830
mecobi
May 4, 2004 2:38 pm
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". ...
1831
Steiner, James
James.Steiner@...
May 4, 2004 4:02 pm
... 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 ...
1832
Steiner, James
James.Steiner@...
May 4, 2004 9:07 pm
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...
1833
Steiner, James
James.Steiner@...
May 4, 2004 9:08 pm
... 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...
1834
Teresa Carrigan
prof_tcarr
May 4, 2004 9:08 pm
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...
1835
nitin_raje@...
May 5, 2004 9:20 pm
... 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,...
1836
Teresa Carrigan
prof_tcarr
May 5, 2004 9:21 pm
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...
1837
Uri Wilensky
uwilensk
May 6, 2004 2:54 am
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...
1838
Seth Tisue
sethtisue
May 7, 2004 3:02 am
... 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...
1839
Steiner, James
James.Steiner@...
May 7, 2004 4:20 pm
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...
1840
Michael Kuyumcu
m.kuyumcu@...
May 8, 2004 9:23 pm
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 ...