Netlogo extensions6/19/2023 The views expressed in this article do not necessarily reflect the views of the EC. AcknowledgementsĮxtension developed under the DiDIY Project funded from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 644344. NetLogo will require two extensions in order to. The factbase extension comes bundled with example models and a brief documentation. If you choose to use live API data, this will result in your simulations using different agent data each time. How to use itĭownload the archive factbase.zip, un-zip it and place the resulting folder factbase inside the extensions directory of the NetLogo directory. Retracting a fact will result in its ID being unassigned, thus trying to retrieve a retracted fact will generate an error. A new fact will be assigned the highest number so far in use + 1. To be able to use indexing (and thus, faster retrieval), each fact is internally assigned an ID, starting with 0. Therefore, trying to assert a fact with all values identical to an already existing fact is ignored. ![]() Facts are represented as lists of values, with one value for each field and all values in the same order as defined by the list of field names. After creating a fact base, facts can be asserted, queried and retracted. Note that in keeping with the NetLogo philosophy of a type-free language, data types for fields are not specified. Facts can be asserted to this, then extracted in a very flexible manner.Īt creation, the user has to define the structure of the fact base, that means define the field names. A fact base can be thought of as a table of named columns (“fields”), where each row comprises an entry (“fact”). What is it?įactbase is an extension for NetLogo (version 5.2) that introduces a new data type: a structured set of data called a “fact base”. ![]() It introduces a new data type: a structured set of data called a “fact base”, that will be particularly useful for those who want to program more cognitive models in their social simulations. The GitHub page of the NetLogo platform4 gives one possible list of. Factbase is a new extension for NetLogo offered for beta-testing by the CPM. Examples of typical NetLogo extensions There are many different types of extension.
0 Comments
Leave a Reply. |