Batch Specific UI
When an experiment of type Batch is run, a dedicated UI is displayed, depending on the parameters to explore and of the exploration methods.
Table of contents​
Information bar​
In batch mode, the top information bar displays 3 distinct information (instead of only the cycle number in the GUI experiment):
- The run number: One run corresponds to N executions of simulation with one given parameters values (N is an integer given by the facet
repeat
in the definition of a batchexperiment
. The number of runs is chosend by the exploration method). - The simulation number: the number of replications done (and the number of replications specified with the
repeat
facet); - The number of thread: the number of threads used for the simulation.
Batch UI​
The parameters view is also a bit different in the case of a Batch UI:
- it shows both the parameters of the experiment, with a distinction between the ones that will be explored and the ones that will not.
- it also shows the state of the exploration. The provided information will depend on the exploration method.
The following interface is generated given the following experiment
(the exploration method is here the exhaustive one
:
experiment Batch type: batch repeat: 2 keep_seed: true until: (food_gathered = food_placed) or (time > 400) {
parameter 'Size of the grid:' var: gridsize init: 75 unit: 'width and height';
parameter 'Number:' var: ants_number init: 200 unit: 'ants';
parameter 'Evaporation:' var: evaporation_per_cycle among: [0.1, 0.2, 0.5, 0.8, 1.0] unit: 'rate every cycle (1.0 means 100%)';
parameter 'Diffusion:' var: diffusion_rate min: 0.1 max: 1.0 unit: 'rate every cycle (1.0 means 100%)' step: 0.3;
method exhaustive maximize: food_gathered;
}
The interface summarises all model parameters and the parameters given to the exploration method:
- Environment and Population: displays all the model parameters that should not be explored.
- Parameters to explore: the parameters to explore are the parameters defined in the experiment with a range of values (with
among
facet ormin
,max
andstep
facets); - Exploration method: it summarises the Exploration method and the stop condition. For the exhaustive method, it also computes the parameter space. For other methods, it also displays the method parameters (e.g. mutation or crossover probability...). Finally, the best and the last fitnesses found are displayed (with the associated parameter set).
The following interface with the same experiment as previously, with only one difference: the exploration method is the genetic
method.
experiment Batch type: batch repeat: 2 keep_seed: true until: (food_gathered = food_placed) or (time > 400) {
// [Parameters]
method genetic maximize: food_gathered;
}