GALib-Parallel
Header-only C++ library for parallel evolutionary algorithms
Loading...
Searching...
No Matches
config_example.yaml
Go to the documentation of this file.
1# YAML Configuration for GALib-Parallel
2# This file contains all possible parameters for all supported algorithms.
3
4algorithm:
5 # Common Parameters
6 type: "standard"
7 max_generations: 200
8 mutation_rate: 0.1
9 crossover_rate: 0.9
10 use_elitism: true
11 threads: 0
12
13 # Standard GA Specific Parameters
14 standard:
15 use_cuda: true
16
17 # Differential Evolution Specific Parameters
18 differential_evolution:
19 f_weight: 0.8
20
21 # Cellular GA Specific Parameters
22 cellular:
23 rows: 10
24 cols: 10
25 use_local_elitism: true
26
27 # Island Model Specific Parameters
28 island:
29 topology: "fully_connected"
30 migration_interval: 10
31 migration_size: 10
32 immigration_quota: 0.1
33 buffer_capacity: 50
34
35 # Migration Strategies
36 replacer:
37 type: "worst"
38 selector:
39 type: "elitism"
40
41 # Genetic Operator Configuration
42 selection:
43 type: "tournament"
44 tournament_size: 3
45
46 mutation:
47 type: "gaussian"
48 sigma: 0.1
49
50 crossover:
51 type: "single_point"
52
53
54output:
55 console:
56 enabled: true
57 interval: 20
58 file:
59 enabled: false
60 interval: 1
61 path: "logs/evolution.csv"