Controlling API example program

56 views
Skip to first unread message

Rudolph Johnson

unread,
Sep 9, 2022, 3:40:33 PM9/9/22
to netlogo-devel
Can anyone show an example of a Controlling API program that controls a Netlogo model?

Jeremy Baker

unread,
Sep 9, 2022, 3:44:17 PM9/9/22
to Rudolph Johnson, netlogo-devel
Hey Rudolph,

The docs for the Controlling API are on the NetLogo GitHub wiki.  It includes some sample code in Java and Scala: https://github.com/NetLogo/NetLogo/wiki/Controlling-API

I've got a fuller Scala example in this repository: https://github.com/LaCuneta/NetLogo-ControllingAPI-Sample  It's slightly out of date, but not too much has changes since NetLogo 6.1.  

I hope that helps, let me know if you have any questions.

-Jeremy

From: netlog...@googlegroups.com <netlog...@googlegroups.com> on behalf of Rudolph Johnson <rudolph....@gmail.com>
Sent: Friday, September 9, 2022 2:39 PM
To: netlogo-devel <netlog...@googlegroups.com>
Subject: [netlogo-devel] Controlling API example program
 
Can anyone show an example of a Controlling API program that controls a Netlogo model?

--
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 netlogo-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/9f999161-8946-4f1b-b5fb-f65f698f556en%40googlegroups.com.

Rudolph Johnson

unread,
Sep 13, 2022, 9:57:19 AM9/13/22
to netlogo-devel
Thank you Jeremy,

I intend to see if I can implement it. If I have any issues I'll let you know.

Thanks
Rudy

Reply all
Reply to author
Forward
0 new messages