Skip to main content
Version: 🚧 Alpha 🚧

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
ArgumentDescription
-batchFlag indicating a batch experiment
ExperimentNameName of the batch experiment as declared in your model
/path/to/model.gamlPath 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;
}
}