This repository was archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEGC.params
78 lines (58 loc) · 2.17 KB
/
EGC.params
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
#okresla jak duzo rzeczy ma byc wyswietlane w konsoli
verbosity = 0
#okresla ilosc wątków i startowe ziarno
breedthreads = auto
evalthreads = auto
seed.0 = time
seed.1 = time
seed.2 = time
seed.3 = time
#określenie klas odpowiedzialnych za poszczególne lementy algorytmu
state = ec.simple.SimpleEvolutionState
pop = ec.Population
init = ec.simple.SimpleInitializer
finish = ec.simple.SimpleFinisher
breed = ec.simple.SimpleBreeder
eval = ec.simple.SimpleEvaluator
stat = ec.simple.SimpleStatistics
exch = ec.simple.SimpleExchanger
#maksymalna liczba generacji
generations = 100000
quit-on-run-complete = true
#wyłaczenie obsługi checkpointów
checkpoint = false
checkpoint-prefix = ec
checkpoint-modulo = 1
#określenie pliku ze wynikami
stat.file = $Results.stat
#określa ilość populacji
pop.subpops = 1
pop.subpop.0 = ec.Subpopulation
#rozmiar populacji
pop.subpop.0.size = 100
pop.subpop.0.duplicate-retries = 0
#określa klasę reprezentującą gatunek
pop.subpop.0.species = ec.vector.IntegerVectorSpecies
#maksymalny Integer w genomie
pop.subpop.0.species.max-gene = 1225
#minimalny Integer w genomie
pop.subpop.0.species.min-gene = 0
#określa klasę reprezentującą osobnika
pop.subpop.0.species.ind = ec.vector.IntegerVectorIndividual
pop.subpop.0.species.fitness = ec.simple.SimpleFitness
#określa typ krzyżowania
pop.subpop.0.species.crossover-type = one
#określa typ i częstotliwość mutacji
pop.subpop.0.species.mutation-type = reset
pop.subpop.0.species.mutation-prob = 0.03
pop.subpop.0.species.pipe = ec.vector.breed.VectorMutationPipeline
pop.subpop.0.species.pipe.source.0 = ec.vector.breed.VectorCrossoverPipeline
#określa rodzaj selekcji
pop.subpop.0.species.pipe.source.0.source.0 = ec.select.TournamentSelection
pop.subpop.0.species.pipe.source.0.source.1 = ec.select.TournamentSelection
#określa ilość rywalizujących osobników
select.tournament.size = 50
#określa klasę problemu
eval.problem = EGC.EdgeGraphColoringProblem
breed.elites.0 = 1
pop.subpop.0.species.genome-size = 1770