-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathPreferences.gaml
578 lines (386 loc) · 19.2 KB
/
Preferences.gaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
// GAMA 1.9.1 Preferences saved on 2023-04-15T12:30:39.234417
model preferences
experiment 'Display Preferences' type: gui {
init {
//Append the name of simulations to their outputs
write sample(gama.pref_append_simulation_name);
//Display grid lines
write sample(gama.pref_chart_display_gridlines);
//Resolution of the charts (from 0, small but fast, to 1, best but resource consuming)
write sample(gama.pref_chart_quality);
//Monitor memory and emit a warning if it is low
write sample(gama.pref_check_memory);
//Max. number of characters to keep when paused (-1 = unlimited)
write sample(gama.pref_console_buffer);
//Max. number of characters to display (-1 = unlimited)
write sample(gama.pref_console_size);
//Wrap long lines (can slow down output)
write sample(gama.pref_console_wrap);
//Custom date pattern (https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#patterns)
write sample(gama.pref_date_custom_formatter);
//Default date pattern for writing dates (i.e. string(date1))
write sample(gama.pref_date_default_formatter);
//Default starting date of models
write sample(gama.pref_date_starting_date);
//Default time step of models
write sample(gama.pref_date_time_step);
//Apply antialiasing
write sample(gama.pref_display_antialias);
//Default background color ('background' facet of 'display')
write sample(gama.pref_display_background_color);
//Default camera to use when none is specified
write sample(gama.pref_display_camera);
//Limit the number of frames per second
write sample(gama.pref_display_cap_fps);
//Continue to draw displays when in Modeling perspective
write sample(gama.pref_display_continue_drawing);
//Default rendering method
write sample(gama.pref_display_default);
//Default color of agents
write sample(gama.pref_display_default_color);
//Default font to use in 'draw'
write sample(gama.pref_display_default_font);
//Defaut shape of agents
write sample(gama.pref_display_default_shape);
//Default size of agents
write sample(gama.pref_display_default_size);
//Enable fast snapshots (uncomplete when the display is obscured by others but much faster)
write sample(gama.pref_display_fast_snapshot);
//Display 'flat' histograms
write sample(gama.pref_display_flat_charts);
//Default highlight color
write sample(gama.pref_display_highlight_color);
//Set the sensitivity of the keyboard movements (0 for slow, 1 for fast)
write sample(gama.pref_display_keyboard_factor);
//Set the default intensity of the ambient and default lights (from 0, completely dark, to 255, completely light)
write sample(gama.pref_display_light_intensity);
//Default line width (facet 'width' of 'draw')
write sample(gama.pref_display_line_width);
//Max. number of frames per second
write sample(gama.pref_display_max_fps);
//Keep values in memory (to save them as CSV)
write sample(gama.pref_display_memorize_charts);
//Set the sensitivity of the mouse/trackpad movements (0 for slow, 1 fast)
write sample(gama.pref_display_mouse_factor);
//Use Numeric Keypad (2,4,6,8) for camera interaction
write sample(gama.pref_display_numkeyscam);
//Display a border around display views
write sample(gama.pref_display_show_border);
//Show errors thrown in displays and outputs
write sample(gama.pref_display_show_errors);
//Show the display bottom overlay
write sample(gama.pref_display_show_overlay);
//Draw 3D axes
write sample(gama.pref_display_show_referential);
//Draw rotation axes
write sample(gama.pref_display_show_rotation);
//Show the display top toolbar
write sample(gama.pref_display_show_toolbar);
//Number of slices of circular geometries
write sample(gama.pref_display_slice_number);
//Synchronize outputs with the simulation
write sample(gama.pref_display_synchronized);
//Use GAMA image cache when building textures in OpenGL (potentially faster when running several simulations, but uses more memory)
write sample(gama.pref_display_use_cache);
//Default layout of display views
write sample(gama.pref_display_view_layout);
//Only display visible agents (faster, may create visual oddities)
write sample(gama.pref_display_visible_agents);
//Set the zoom factor (0 for slow, 1 fast)
write sample(gama.pref_display_zoom_factor);
//Highlight in yellow the title of value editors when they change
write sample(gama.pref_editors_highligth);
//Text color of errors
write sample(gama.pref_error_text_color);
//Show execution errors
write sample(gama.pref_errors_display);
//Automatically open an editor and point at the faulty part of the model if an error or a warning is thrown
write sample(gama.pref_errors_in_editor);
//Number of errors to display
write sample(gama.pref_errors_number);
//Display most recent first
write sample(gama.pref_errors_recent_first);
//Stop simulation at first error
write sample(gama.pref_errors_stop);
//Treat warnings as errors
write sample(gama.pref_errors_warnings_errors);
//Ask to close the previous experiment when launching a new one
write sample(gama.pref_experiment_ask_closing);
//Auto-run experiments when they are launched
write sample(gama.pref_experiment_auto_run);
//Automatically expand the parameters categories
write sample(gama.pref_experiment_expand_params);
//Set the step duration slider incrementation to linear. If false set to logarithmic
write sample(gama.pref_experiment_type_slider);
//Only display (in the UI and in headless runs) failed and aborted tests
write sample(gama.pref_failed_tests);
//Let GAMA find which CRS to use to project GIS data
write sample(gama.pref_gis_auto_crs);
//...or use the following EPSG code (the one that will also be used if no projection information is found)
write sample(gama.pref_gis_default_crs);
//...or use the following CRS (EPSG code)
write sample(gama.pref_gis_initial_crs);
//... or use this following CRS (EPSG code)
write sample(gama.pref_gis_output_crs);
//When no .prj file or CRS is supplied, consider GIS data to be already projected in this CRS
write sample(gama.pref_gis_same_crs);
//When no CRS is provided, save the GIS data with the current CRS
write sample(gama.pref_gis_save_crs);
//Connection timeout (in ms)
write sample(gama.pref_http_connect_timeout);
//Empty the local cache of files downloaded from the web
write sample(gama.pref_http_empty_cache);
//Read timeout (in ms)
write sample(gama.pref_http_read_timeout);
//Number of times to retry if connection cannot be established
write sample(gama.pref_http_retry_number);
//If true, when running out of memory, GAMA will try to close the experiment, otherwise it exits
write sample(gama.pref_memory_action);
//Interval (in seconds) at which memory should be monitored
write sample(gama.pref_memory_frequency);
//Trigger warnings when the percentage of available memory is below
write sample(gama.pref_memory_threshold);
//Display monitors in the parameters view
write sample(gama.pref_monitors_in_parameters);
//Add a small increment to the z ordinate of objects to fight visual artefacts
write sample(gama.pref_opengl_z_fighting);
//Optimize the 'at_distance' operator
write sample(gama.pref_optimize_at_distance);
//Optimize the path computation operators and goto action (but with possible 'jump' issues)
write sample(gama.pref_optimize_path_computation);
//Optimize spatial queries: add agents only when necessary in the quadtree (still experimental)
write sample(gama.pref_optimize_quadtree);
//Make grids schedule their agents in parallel (beware that setting this to true no longer allows GAMA to ensure the reproducibility of simulations)
write sample(gama.pref_parallel_grids);
//Make experiments run simulations in parallel
write sample(gama.pref_parallel_simulations);
//In batch, allows to run simulations with all available processors[WARNING: disables reflexes and permanent displays of batch experiments]
write sample(gama.pref_parallel_simulations_all);
//Make species schedule their agents in parallel (beware that setting this to true no longer allows GAMA to ensure the reproducibility of simulations)
write sample(gama.pref_parallel_species);
//Max. number of threads to use (available processors: 10)
write sample(gama.pref_parallel_threads);
//Number under which agents are executed sequentially
write sample(gama.pref_parallel_threshold);
//Tolerance for the comparison of points
write sample(gama.pref_point_tolerance);
//Default seed value (0 is undefined)
write sample(gama.pref_rng_default_seed);
//Define a default seed
write sample(gama.pref_rng_define_seed);
//Include random number generation parameters in the parameters view
write sample(gama.pref_rng_in_parameters);
//Default random number generator
write sample(gama.pref_rng_name);
//In-memory shapefile mapping (optimizes access to shapefile data in exchange for increased memory usage)
write sample(gama.pref_shapefiles_in_memory);
//Color of Simulation 0 in the UI (console, view tabs)
write sample(gama.pref_simulation_color_0);
//Color of Simulation 1 in the UI (console, view tabs)
write sample(gama.pref_simulation_color_1);
//Color of Simulation 2 in the UI (console, view tabs)
write sample(gama.pref_simulation_color_2);
//Color of Simulation 3 in the UI (console, view tabs)
write sample(gama.pref_simulation_color_3);
//Color of Simulation 4 in the UI (console, view tabs)
write sample(gama.pref_simulation_color_4);
//Forces the spatial index to synchronize its operations. Useful for interactive models where the users interfere or parallel models with concurrency errors. Note that it may slow down simulations with a lot of mobile agents
write sample(gama.pref_synchronize_quadtree);
//Orient the textures according to the geometry on which they are displayed (may create visual oddities)
write sample(gama.pref_texture_orientation);
//Text color of warnings
write sample(gama.pref_warning_text_color);
}
}
experiment 'Set Preferences' type: gui {
init {
//Append the name of simulations to their outputs
gama.pref_append_simulation_name <- false;
//Display grid lines
gama.pref_chart_display_gridlines <- false;
//Resolution of the charts (from 0, small but fast, to 1, best but resource consuming)
gama.pref_chart_quality <- 0.865;
//Monitor memory and emit a warning if it is low
gama.pref_check_memory <- true;
//Max. number of characters to keep when paused (-1 = unlimited)
gama.pref_console_buffer <- 20000;
//Max. number of characters to display (-1 = unlimited)
gama.pref_console_size <- 5000;
//Wrap long lines (can slow down output)
gama.pref_console_wrap <- false;
//Custom date pattern (https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#patterns)
gama.pref_date_custom_formatter <- 'yyyy-MM-dd HH:mm:ss';
//Default date pattern for writing dates (i.e. string(date1))
gama.pref_date_default_formatter <- 'CUSTOM';
//Default starting date of models
gama.pref_date_starting_date <- date ('1970-01-01 07:00:00');
//Default time step of models
gama.pref_date_time_step <- 1.0;
//Apply antialiasing
gama.pref_display_antialias <- true;
//Default background color ('background' facet of 'display')
gama.pref_display_background_color <- #white;
//Default camera to use when none is specified
gama.pref_display_camera <- 'From above';
//Limit the number of frames per second
gama.pref_display_cap_fps <- true;
//Continue to draw displays when in Modeling perspective
gama.pref_display_continue_drawing <- false;
//Default rendering method
gama.pref_display_default <- '3d';
//Default color of agents
gama.pref_display_default_color <- #yellow;
//Default font to use in 'draw'
gama.pref_display_default_font <- font('Andale Mono',12.0,#plain);
//Defaut shape of agents
gama.pref_display_default_shape <- 'shape';
//Default size of agents
gama.pref_display_default_size <- 1.0;
//Enable fast snapshots (uncomplete when the display is obscured by others but much faster)
gama.pref_display_fast_snapshot <- false;
//Display 'flat' histograms
gama.pref_display_flat_charts <- true;
//Default highlight color
gama.pref_display_highlight_color <- rgb (0, 200, 200, 255);
//Set the sensitivity of the keyboard movements (0 for slow, 1 for fast)
gama.pref_display_keyboard_factor <- 0.6900000000000001;
//Set the default intensity of the ambient and default lights (from 0, completely dark, to 255, completely light)
gama.pref_display_light_intensity <- 160;
//Default line width (facet 'width' of 'draw')
gama.pref_display_line_width <- 0.7999999999999999;
//Max. number of frames per second
gama.pref_display_max_fps <- 50;
//Keep values in memory (to save them as CSV)
gama.pref_display_memorize_charts <- false;
//Set the sensitivity of the mouse/trackpad movements (0 for slow, 1 fast)
gama.pref_display_mouse_factor <- 0.2;
//Use Numeric Keypad (2,4,6,8) for camera interaction
gama.pref_display_numkeyscam <- false;
//Display a border around display views
gama.pref_display_show_border <- false;
//Show errors thrown in displays and outputs
gama.pref_display_show_errors <- true;
//Show the display bottom overlay
gama.pref_display_show_overlay <- false;
//Draw 3D axes
gama.pref_display_show_referential <- true;
//Draw rotation axes
gama.pref_display_show_rotation <- false;
//Show the display top toolbar
gama.pref_display_show_toolbar <- true;
//Number of slices of circular geometries
gama.pref_display_slice_number <- 12;
//Synchronize outputs with the simulation
gama.pref_display_synchronized <- false;
//Use GAMA image cache when building textures in OpenGL (potentially faster when running several simulations, but uses more memory)
gama.pref_display_use_cache <- true;
//Default layout of display views
gama.pref_display_view_layout <- 'None';
//Only display visible agents (faster, may create visual oddities)
gama.pref_display_visible_agents <- false;
//Set the zoom factor (0 for slow, 1 fast)
gama.pref_display_zoom_factor <- 0.68;
//Highlight in yellow the title of value editors when they change
gama.pref_editors_highligth <- true;
//Text color of errors
gama.pref_error_text_color <- rgb (210, 155, 156, 255);
//Show execution errors
gama.pref_errors_display <- true;
//Automatically open an editor and point at the faulty part of the model if an error or a warning is thrown
gama.pref_errors_in_editor <- true;
//Number of errors to display
gama.pref_errors_number <- 2;
//Display most recent first
gama.pref_errors_recent_first <- true;
//Stop simulation at first error
gama.pref_errors_stop <- true;
//Treat warnings as errors
gama.pref_errors_warnings_errors <- false;
//Ask to close the previous experiment when launching a new one
gama.pref_experiment_ask_closing <- true;
//Auto-run experiments when they are launched
gama.pref_experiment_auto_run <- false;
//Automatically expand the parameters categories
gama.pref_experiment_expand_params <- true;
//Set the step duration slider incrementation to linear. If false set to logarithmic
gama.pref_experiment_type_slider <- true;
//Only display (in the UI and in headless runs) failed and aborted tests
gama.pref_failed_tests <- false;
//Let GAMA find which CRS to use to project GIS data
gama.pref_gis_auto_crs <- true;
//...or use the following EPSG code (the one that will also be used if no projection information is found)
gama.pref_gis_default_crs <- 32648;
//...or use the following CRS (EPSG code)
gama.pref_gis_initial_crs <- 4326;
//... or use this following CRS (EPSG code)
gama.pref_gis_output_crs <- 4326;
//When no .prj file or CRS is supplied, consider GIS data to be already projected in this CRS
gama.pref_gis_same_crs <- true;
//When no CRS is provided, save the GIS data with the current CRS
gama.pref_gis_save_crs <- true;
//Connection timeout (in ms)
gama.pref_http_connect_timeout <- 20000;
//Empty the local cache of files downloaded from the web
gama.pref_http_empty_cache <- true;
//Read timeout (in ms)
gama.pref_http_read_timeout <- 20000;
//Number of times to retry if connection cannot be established
gama.pref_http_retry_number <- 3;
//If true, when running out of memory, GAMA will try to close the experiment, otherwise it exits
gama.pref_memory_action <- true;
//Interval (in seconds) at which memory should be monitored
gama.pref_memory_frequency <- 2;
//Trigger warnings when the percentage of available memory is below
gama.pref_memory_threshold <- 20;
//Display monitors in the parameters view
gama.pref_monitors_in_parameters <- true;
//Add a small increment to the z ordinate of objects to fight visual artefacts
gama.pref_opengl_z_fighting <- true;
//Optimize the 'at_distance' operator
gama.pref_optimize_at_distance <- true;
//Optimize the path computation operators and goto action (but with possible 'jump' issues)
gama.pref_optimize_path_computation <- false;
//Optimize spatial queries: add agents only when necessary in the quadtree (still experimental)
gama.pref_optimize_quadtree <- false;
//Make grids schedule their agents in parallel (beware that setting this to true no longer allows GAMA to ensure the reproducibility of simulations)
gama.pref_parallel_grids <- false;
//Make experiments run simulations in parallel
gama.pref_parallel_simulations <- true;
//In batch, allows to run simulations with all available processors[WARNING: disables reflexes and permanent displays of batch experiments]
gama.pref_parallel_simulations_all <- false;
//Make species schedule their agents in parallel (beware that setting this to true no longer allows GAMA to ensure the reproducibility of simulations)
gama.pref_parallel_species <- false;
//Max. number of threads to use (available processors: 10)
gama.pref_parallel_threads <- 16;
//Number under which agents are executed sequentially
gama.pref_parallel_threshold <- 4;
//Tolerance for the comparison of points
gama.pref_point_tolerance <- 0.0;
//Default seed value (0 is undefined)
gama.pref_rng_default_seed <- 1.0;
//Define a default seed
gama.pref_rng_define_seed <- false;
//Include random number generation parameters in the parameters view
gama.pref_rng_in_parameters <- false;
//Default random number generator
gama.pref_rng_name <- 'parallel';
//In-memory shapefile mapping (optimizes access to shapefile data in exchange for increased memory usage)
gama.pref_shapefiles_in_memory <- true;
//Color of Simulation 0 in the UI (console, view tabs)
gama.pref_simulation_color_0 <- rgb (74, 97, 144, 255);
//Color of Simulation 1 in the UI (console, view tabs)
gama.pref_simulation_color_1 <- rgb (66, 119, 42, 255);
//Color of Simulation 2 in the UI (console, view tabs)
gama.pref_simulation_color_2 <- rgb (83, 95, 107, 255);
//Color of Simulation 3 in the UI (console, view tabs)
gama.pref_simulation_color_3 <- rgb (195, 98, 43, 255);
//Color of Simulation 4 in the UI (console, view tabs)
gama.pref_simulation_color_4 <- rgb (150, 132, 106, 255);
//Forces the spatial index to synchronize its operations. Useful for interactive models where the users interfere or parallel models with concurrency errors. Note that it may slow down simulations with a lot of mobile agents
gama.pref_synchronize_quadtree <- true;
//Orient the textures according to the geometry on which they are displayed (may create visual oddities)
gama.pref_texture_orientation <- true;
//Text color of warnings
gama.pref_warning_text_color <- rgb (255, 201, 162, 255);
}
}