... interesting question. it looks to me as if the methods you tried both do a great deal of traversing down the list (for instance, "item n x" must always...
Hello all, I have developed a Netlogo model of a quantum game of life and will be posting it soon to the user community models. A general explanation...
Thanks Seth, One-of worked, although a bit confused, as turtlebreed-1's repel each other so there should never be more than one on a patch at the same time -...
sorry for replying to my own email, but i should probably point out that a similar implementation could make it reasonably straightforward to do incremental...
Hello Martin, The problem with your friend's solution is it executes too slowly. Here is a faster version: /*--------------------------------------------*/ ...
Here's another simple approach, which doesn't use recursion. My terminology is a little different, since from a "graph theory" standpoint you are trying to...
[i wish i'd received this reply before i sent mine - it's taken 16 hours to get here...] ... [...] ... i *think* my algorithm is O(n * log(n)), assuming...
... chunkyorkshireman> Why do the hatched turtlebreed-2's have the same chunkyorkshireman> size as turtlebreed-1? A hatched turtle inherits all of its...
I know of two cases where NetLogo applets didn't run on a Mac (they acted like they were loading and many minutes later no progress). These weren't systems I...
Ken Kahn
toontalk@...
Dec 1, 2008 7:37 pm
8399
Thank you very much to all of you. I'm analyzing all your answers and testing them. I'll tell you the results as soon as I finish! Thanks again! Martin ...
Dear Netlogo Users, I'd like to ask you a quick question about assigning mutually exclusive values for labels (or any other variables) for turtles. I have a...
C K
katheca@...
Dec 2, 2008 3:06 pm
8401
Is there a way to have netlogo in the current situation? ifelse (condition) [ let s 3 ] [ let s -5] if (s > 0) [ ..... ] at this point I get that "nothing...
Hello everybody, I tried your solutions and they worked very fine. The fastest were the two proposed by Roger Peppe. May be you can help me to solve this: Now...
... something like this should do the job (note that any diagonal or non-unit-length steps will come out as "false", but that seems reasonable enough, and it's...
Here are a few methods. one: iterate list with foreach foreach the-list [ ;; copy value from list to a holding variable (for clarity) let the-value ? ...
Hi Martin - ... Yes, it's possible, though, it's not as easy or natural as I'd like it to be (of course making it so is on the long list of things that I'd...
Hi Juanjo - Thanks for the report. ... there is no way to do this. ... This was a bug in NetLogo 4.0.3, thanks for catching it. It's fixed in 4.0.4, which we...
Hello everyone, I am a relatively new user to netlogo and really to any type of programming itself. I am trying to write a code that does the following. (1)...
bristowforvarina
bristowforvarina@...
Dec 4, 2008 3:58 am
8409
I am trying to store "experience" in a text file for each agent in my model. When an agent dies, I want to delete it's experience file. I am using the...
I have a question, in my code I want the agent helper to have a random value of p,G,and L. The values are then put into 3 formulas corresponding to the...
akilah42
ah005297@...
Dec 4, 2008 3:58 am
8411
... roger> question for netlogo implementors: if i've got some code roger> containing a literal list, as in stepdirection below, is it roger> created only...
... Ken> I know of two cases where NetLogo applets didn't run on a Mac Ken> (they acted like they were loading and many minutes later no Ken> progress). These...
Thanks for the explanation of funny re-numbering. But what's up with the 32-bit and 64-bit versions? (Given that I'm running Leopard on my Intel Core 2 Duo...
Hello I am using Matlab to call Netlogo in headless mode. It is working find except I can not get the report( ) function to report for different ticks other...
... bo> Hi all: My question is in the subject. I use Linux and I'd like to bo> use something like ... bo> ./netlogo.sh /home/user/Research/mymodel.nlogo bo>...
... ruebeckc> Thanks for the explanation of funny re-numbering. But what's ruebeckc> up with the 32-bit and 64-bit versions? (Given that I'm ruebeckc>...
Hello everyone is there a way to run a simulation and save all the data (let's say all turtle's coordinates at each tick) at the end of the simulation itself? ...
Dear all, Hi, I want to load a shapefile into NetLogo 4.0.3 , So i use the ... set streetFeatures gis:load-dataset "data/HongKong.shp" ... But the NetLogo...