HeadlessBatch - gama-platform/gama GitHub Wiki
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;
}
}