Headless Batch
Overviewβ
Headless Batch runs batch experiments defined directly in your .gaml model. This is the most natural way to use GAMA headlessβit works exactly like batch experimentation in the GUI.
For XML-based scripted runs, see Headless Legacy. For interactive remote control, see Headless Server.
Runningβ
gama-headless.sh -batch ExperimentName /path/to/model.gaml
| Argument | Description |
|---|---|
-batch | Flag indicating a batch experiment |
ExperimentName | Name of the batch experiment as declared in your model |
/path/to/model.gaml | Path to the GAML model file |
Model Exampleβ
experiment MyBatchExperiment type: batch {
parameter "N" var: n_experiment min: 10 max: 100 step: 10;
output {
csv "results.csv" variables: nb_alive;
}
}