Hello Wolfgang, We continue to be hard at work on NetLogo 4.0. We have been working with it internally here for some time and expect to release a public beta...
Hi, The idea is that the customer breed each look for the supplier closest to themselves which fulfills the conditions of 1) its reliability being greater than...
... Turtles do keep the heading they have until something changes it. Either you aren't changing the heading the way you think you are, or some piece of code...
... dawidh> Hi I have a model were turtles have a visual field and make dawidh> decisions about movements depending of what they 'see'. I dawidh> notice that...
OK. You mention both "closest" and "cheapest" RIght now you are finding the cheapest within a certain radius, if it exists, even though it might be more...
Here's a link to that model's page here at the ccl: http://ccl.northwestern.edu/netlogo/models/Voronoi By the way, check out the cool method Seth and I came up...
Hi All, Once again, a little question that I have : Is using integer faster than using strings? For example, ;; Turtles already have assigned ID ;; I'm just...
Memory is just a turtle-owned variable. turtles-own [ memory ] Initialize the memory in setup: set memory [ ] ;; an empty list Now, to remember another agent: ...
Hi, Ruifeng! My tests show there is a small difference. You results may vary. Test it on your equipment. My test results, for 50 million comparisons each: n,...
5678
takaosasaki0514
takaosasaki0514@...
Feb 3, 2007 2:58 pm
Hi, First of all, thank you for letting me post this. I greatly appreciate it. I have a list that has, say, 20turtles. First, I would like to sort them out...
Taka, At first I thought maybe your turtles with the same value for line *would* come out in different orders for different runs of the same sort-by on the...
I should make one slight correction to the second script in the message I just posted. This makes it much easier to see what is going on: to test2 clear-all ...
5682
takaosasaki0514
takaosasaki0514@...
Feb 4, 2007 9:15 pm
Hi Jim, Thank you very much for your help! I have played with the scripts for a while. It works, but I do not totally understand the line: repeat 5 [ let...
Hi, Taka! What Jim's method does is add a little random "salt" to the values when they are compared. This way, instead of comparing 3 with 3, this compares,...
hi, I have the problem of the movement of the turtles to every turtle is associated a strength "F" (that it is a vector with toward, direction and intensity) I...
hi tony, I am not sure what are actually trying to do. However, what I have understood is that you want all the turtles to move in a particular heading and you...
... You are most welcome! James explained "salting" the values in his reply and showed a neat way to improve the efficiency if you use this method. (Thanks...
As promised, the user community models posted to http://ccl.northwestern.edu/netlogo/models/community/ in 2006, we're almost caught up now. As always, users...
... takaosasaki0514> let attraction-list (sort-by [line-of ?1 > line-of ?2] takaosasaki0514> (n-of 20 turtles)) takaosasaki0514> Now I would like to shuffle...
... Jim> to test3 let x n-values 20 [19 - ?] repeat 5 [ print sort-by Jim> [random 10 < 5] x ] end Jim> to test4 let x n-values 20 [19 - ?] repeat 5 [ print...
5690
Jim Lyons
jimlyons@...
Feb 5, 2007 8:30 pm
... So I guess this means the solution James and I were discussing earlier, using a random value in the reporter for 'sort-by39;, wouldn't be a good idea either?...
... Jim> So I guess this means the solution James and I were discussing Jim> earlier, using a random value in the reporter for 'sort-by39;, Jim> wouldn't be a...
Has it ever been discussed here why it is that in the NetLogo command center, commands and reporters are colored, but built-in agent variables (which are...
... Jerry> Has it ever been discussed here why it is that in the NetLogo Jerry> command center, commands and reporters are colored, but built-in Jerry> agent...
5694
David O'Sullivan
d.osullivan@...
Feb 6, 2007 4:35 am
Here's a reporter that will take a *list* of agents and shuffle them based on some variable: to-report shuffle-agents-by-var [ agent-list ] let unique-vals...
Yeah, I'm glad to hear that primitive variables will be colored in the next release... and I do like Jerry's suggestion that user-defiend things be formatted...
tanks, for the help also i have made in this way : i have use two turtles' variables : "move" (values > 1) and "angle" (in degrees) move is a vector so i have...