Hi Netlogo Experts I have a query on using lists. Background: * Packages are a breed * Packages have package-id and package-price * Customers are a breed too *...
11765
King Farhaan
farhaanmirza
Feb 1, 2011 9:16 pm
Hi Netlogo experts Hope this is a simple one. Appreciate your help. I want to change the list (my-lists-of-lists) to a plan list (my-plain-list) as shown. Is...
11766
christina58570
Feb 1, 2011 9:16 pm
Hello Eric and group, I am using the GIS extension as it is necessary I model a real, spatially explicit environment for my work. I was wondering if it is...
11767
Jim Lyons
jimlyons37
Feb 2, 2011 12:28 pm
... This is possible using one of the powerful list functions, reduce. print reduce [sentence ?1 ?2] [2 [0 1] 8 [4 5] 0 6] Prints [2 0 1 8 4 5 0 6]. Jim...
11768
James Steiner
askturtlezero
Feb 2, 2011 12:28 pm
I dug through the archive on "collapse list" and found this message: http://groups.yahoo.com/group/netlogo-users/message/8157 With this solution: to collapse [...
11769
King Farhaan
farhaanmirza
Feb 2, 2011 3:28 pm
The solution you have suggested is great. Thanks. However the solution requires you to "know" which items in the list-of-lists contain multiple values. What if...
11770
James Steiner
askturtlezero
Feb 2, 2011 3:28 pm
FIrst, you initialize forcast-usage-bill to "", and empty string, not [], an empty list. Second, you are using sort-by incorrectly. Please read the entry for...
11771
Seth Tisue
sethtisue
Feb 2, 2011 3:29 pm
... matt> So you can use ScalaTest with NetLogo code? Well, you can use any JVM testing framework for any JVM language. Personally I use Scala and ScalaTest,...
11772
Eric Russell
russell734
Feb 2, 2011 3:29 pm
Hi Christina, To prevent all the file IO from slowing down your simulation too much, I would recommend keeping track of all the locations as the simulation is ...
11773
sanbalestrini
Feb 2, 2011 5:34 pm
I was wondering if someone had created a translator for traditional 3D file formats to the format that NetLogo uses. I've searched the forum for a thread on...
11774
Seth Tisue
sethtisue
Feb 2, 2011 5:34 pm
... poujoo2000> Hi Foster, thanks a lot. That helped. Basically, I would poujoo2000> like to have a NetLogo model that communicates with a web poujoo2000>...
11775
christina58570
Feb 2, 2011 6:46 pm
Brilliant! With a couple of modifications to my code, it worked like a charm. Thank you very much, Eric! Christina...
11776
James Steiner
askturtlezero
Feb 2, 2011 6:46 pm
You misunderstand... the way "sentence" works in this case is like this: Consider the input: [ 2 [ 0 1 ] 8 [ 4 5 ] 0 6 ] When REDUCE [ sentence ?1 ?2 ] goes...
11777
Stephen Guerin
stephengueri...
Feb 2, 2011 6:46 pm
Hello Santiago, A few years back we posted a small python script for converting a selected Blender geometry to netlogo turtle shapes: see:...
11778
fsondahl
Feb 2, 2011 6:47 pm
A teacher named Hubert Wassner mentioned to us that one of his students made a script to export objects from Blender (popular free/open-source 3D modeling...
11779
cmayowilson
cmayowilson@...
Feb 3, 2011 12:42 pm
Hi, I'm new to NetLogo, and so I apologize if the bug below is particularly obvious. I'm trying to modify a list, but when I try to do so, an error is...
11780
Ifigenia
dorifi
Feb 3, 2011 2:09 pm
Hello to everyone! I am a beginner with NetLogo (and programming in general) but I have to create an ABM for my research… I want to create one...
11781
sanbalestrini
Feb 3, 2011 10:23 pm
Thanks Stephen and Forrest, I'll look into the Blender importer and if I get the DXF importer working, I'll post it here. I may be able to use some of the...
11782
ygorsperanza
Feb 4, 2011 1:23 pm
Hi! I'm studying computational thinking and semiotics and I've been pointed to NetLogo. I've played a little bit with it, and I've read the manual, but I'm...
11783
James Steiner
askturtlezero
Feb 4, 2011 1:23 pm
You're accessing to different lists. one appears to be a list of agentsets (experts) and the other appears to be a list of lists of values (beliefs). If either...
11784
rogri99
rogri99@...
Feb 6, 2011 3:19 pm
hi, sorry for this stupid question, but can somebody send me a code excerpt for an extension that takes multiple arguments (either from a list, an array or a...
11785
Sarah Cherng
sarah23354
Feb 6, 2011 3:19 pm
Hi everyone, I had no problems getting R and Netlogo working together in Mac OSX, however, RHEL5 and Windows 7, using R2.12.1 and Netlogo 4.1.2 are both giving...
11786
turtlemaniac5000
turtlemaniac5000@...
Feb 6, 2011 3:20 pm
... Look up "Image Import Example" from models library. And after you have imported a map with a few colors: to make-some-turtles let color-choice [pcolor] of...
11787
turtlemaniac5000
turtlemaniac5000@...
Feb 6, 2011 3:20 pm
... I can say exactly the same thing the error message is saying. Turtle 105 is trying to find element 110 of a list which is only of length 100. How is the...
11788
turtlemaniac5000
turtlemaniac5000@...
Feb 6, 2011 3:20 pm
... Just follow the error messages produced by netlogo: 1)"pxcor=0" needs to be "pxcor = 0" 2)"ifelse random 2 =0" needs to be "ifelse random 2 = 0" ...
11789
turtlemaniac5000
turtlemaniac5000@...
Feb 6, 2011 3:20 pm
... Open "Models Library" and search for "network" and "plot". Maybe you will get some ideas from those models. Then open "NetLogo User Manual" and read the...
11790
netlogodeveloper
netlogodeveloper@...
Feb 6, 2011 4:00 pm
Hi All, I have developed a model which has Host and Client interactivity. Here the host needs all the data to be saved out into a .csv file made by all...
11791
anuar jaafar
anuarjaafar85
Feb 6, 2011 4:03 pm
I had already try using 'store39; but I still do not understand and cannot expect what will happen after 'store39; is executed. ask red-agent[ let store n-of 2...
11792
turtlemaniac5000
turtlemaniac5000@...
Feb 6, 2011 4:03 pm
Hi. Changes to your code: globals [demand available] to setup clear-all ... create-supplier 1 [ setxy 5 -8 set color yellow set size 2 set resource 10 ...