lhc_generate_lhc_sample_netlogo: Prepares Netlogo experiment files for a sampling-based...

Description Usage Arguments

Description

This generates a specified number of simulation parameters sets using latin-hypercube sampling. These are then processed into Netlogo XML experiment files, one for each set of parameters.

Usage

1
2
3
(FILEPATH, PARAMETERS, PARAMVALS,
  NUMSAMPLES, ALGORITHM, EXPERIMENT_REPETITIONS, RUN_METRICS_EVERYSTEP,
  NETLOGO_SETUP_FUNCTION, NETLOGO_RUN_FUNCTION, MEASURES)

Arguments

FILEPATH

Directory where the parameter samples are to be stored

PARAMETERS

Array containing the names of the parameters of which parameter samples will be generated

PARAMVALS

Array containing either the parameter value (if not of interest in the analysis), or range under which this is being explored (stated as as string e.g. "[5,50]" for a range of 5-50.

NUMSAMPLES

The number of parameter subsets to be generated in the LHC design

ALGORITHM

Choice of algorithm to use to generate the hypercube. Can be set to either 'normal' or 'optimum'. Beware optimum can take a long time to generate an optimised parameter set (more than 24 hours in some circumstances).

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.


kalden/spartan documentation built on May 31, 2019, 11:52 p.m.