Hi, I have a short question concerning the integration of a java extension into my Netlogo Program.
What I want to do is create an extension that takes certain traits from an agent. These traits(all double values) should then used in my java code to do some calculations. I then want to return a double value back to NetLogo to change one trait of the turtle. How do I access traits of the turtle in the java extension and what is the correct return type for the double value (back to NetLogo). Any help is greatly appreciated. :) *Simple Example: (for Illustration)* *NetLogo*: Agent Characteristics: A = 0.5 B = 0.4 C= 0.1 *D = 0.0* *Java: *(get values of A,B,C) return A + B + C = 1.0 *NetLogo: *(gets value of d returned) A = 0.5 B = 0.4 C= 0.1 *D = 1.0* -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
