NetLogo comes with a large library of sample models. We also have mailing lists you can join to ask questions of other users and keep up to date with NetLogo. The manual also contains descriptions and instructions for the different features, extensions, and applications that come bundled with NetLogo.The NetLogo primitive dictionary which describes how to use all the built-in programming primitives in the NetLogo language.Second, because you are using directed links, if A is connected to B, B is considered a link neighbor of A, but not vice versa (because it's directed. The programming guide contains lots of information on writing NetLogo code and using advanced NetLogo features. 1 Answer Sorted by: 2 There are two problems: first, using self in the context you are using it in checks if a node is connected to itself.The interface tab guide, info tab guide, and code tab guide which include many more details on all the core features of the software.When you're ready to dive deeper into NetLogo programming, check out the full NetLogo manual. NetLogo has no word data type (what Lisp calls symbols). It is used by many hundreds of thousands of students, teachers, and researchers worldwide. We also have a short (2 minute) introduction to NetLogo video that covers the basic concepts and capabilities of the software. 1 Answer Sorted by: 2 There are two problems: first, using self in the context you are using it in checks if a node is connected to itself. NetLogo’s local variables and inputs to procedures are lexically scoped, not dynamically scoped. NetLogo is a multi-agent programmable modeling environment.You also might want to check out "What is a primitive?" and "The First 11 Primitives to Learn" which let you interactively try out NetLogo code primitives as you learn about them. ![]() The videos include multiple examples of making models from scratch. The Beginner's Interactive NetLogo Dictionary has articles and videos on introductory topics, including a getting started page.The NetLogo tutorials guide you through all the basics, from loading and using models, to interacting with models with NetLogo code, and finally programming a model from scratch.Are you new to NetLogo or programming in general? We have resources to help!
0 Comments
Leave a Reply. |