![]() ![]() In addition, NetLogo print commands are redirected to the R console. If silent is set to FALSE, a message with the current random seed and siminputrow is printed to the console after successful execution of each simulation run. The run_nl_all(), run_nl_one() and run_nl_dyn() functions provide a “silent” parameter that allows to capture progress of running simulations. The function will report detailed warnings or error messages, if definitions of variables or constants are invalid. After attaching an experiment to an nl object, validity of defined experiment variables and constants can be checked by commiting the nl object to the function eval_variables_constants(). This function reads all GUI elements of the NetLogo model that can be set by nlrx. If your model does not have any globals (GUI and code), please create a dummy global (either create a global widget on the GUI or add a dummy variable to the globals code section) for your model and put it in the constants list with an appropriate value.Ī complete list of all valid NetLogo parameters can be loaded by commiting a nl object with a valid modelpath to the function report_model_parameters(). simdesign_simple() requires at least one defined constant within the constants list.NetLogo model parameters that are not listed in any of these two lists will be set with their default value from the NetLogo model interface.It is not allowed to list the same variable in the variables and constants list.Variable values that should be recognized by NetLogo as logical need to be entered as strings (e.g.Variable values that should be recognized by NetLogo as strings need to be nested inside escaped quotes (e.g. ![]() Categorical variable values are currently only allowed for simdesign_simple, simdesign_distinct and simdesign_ff.Values, or min, max, step (values is prioritized)Īdditionally, please note the following restrictions in order to define variables and constants correctly: The implemented simdesigns have different requirements for variable definitions: Simdesign Correctly defining variables within the experiment class object is crucial for creating simdesigns. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |