-
Notifications
You must be signed in to change notification settings - Fork 99
BatchSpecific
Tri Nguyen-Huu edited this page May 6, 2022
·
19 revisions
When an experiment of type Batch is run, a dedicated UI is displayed, depending on the parameters to explore and of the exploration methods.
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 chosen 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.
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;
}
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Preferences
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Exploring Models
- Optimizing Model Section
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Diffusion
- Using Database
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Headless mode
- Using Headless
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the GIT version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation