Learn R Programming

spartan (version 3.0.2)

initialise_netlogo_xml_file: Initialises the Netlogo setup file for this experiment

Description

Initialises the Netlogo setup file for this experiment

Usage

initialise_netlogo_xml_file(EXPERIMENT, SAMPLE, EXPERIMENT_REPETITIONS,
  RUN_METRICS_EVERYSTEP, NETLOGO_SETUP_FUNCTION, NETLOGO_RUN_FUNCTION,
  MEASURES)

Arguments

EXPERIMENT

Test for the experiment tag of the file (e.g. LHC, eFAST, etc)

SAMPLE

Number of the sample being processed

EXPERIMENT_REPETITIONS

The number of times Netlogo should repeat the experiment for each set of parameter values.

RUN_METRICS_EVERYSTEP

Boolean stating whether Netlogo should produce output for each timestep.

NETLOGO_SETUP_FUNCTION

The name of the function in Netlogo that sets up the simulation. Commonly is named setup.

NETLOGO_RUN_FUNCTION

The name of the function in Netlogo that starts the simulation. Commonly named go.

MEASURES

Array containing the names of the Netlogo output measures which are used to analyse the simulation.

Value

Initialised XML file object