1 | # Copyright 2006 by Sean Luke and George Mason University
|
---|
2 | # Licensed under the Academic Free License version 3.0
|
---|
3 | # See the file "LICENSE" for more information
|
---|
4 |
|
---|
5 | parent.0 = ../../ec.params
|
---|
6 |
|
---|
7 | eval.problem = ec.app.ecsuite.ECSuite
|
---|
8 | eval.problem.type = rastrigin
|
---|
9 | #
|
---|
10 | # optionally your type could be: rosenbrock, sphere, step, noisy-quartic,
|
---|
11 | # or kdj-f1, kdj-f2, kdj-f3, or kdj-f4 (the kdj-foo names
|
---|
12 | # are just aliases for other problems, useful for people who might
|
---|
13 | # know them as specific problems in the DeJong test suite)
|
---|
14 | # ...or booth, griewangk
|
---|
15 | #
|
---|
16 |
|
---|
17 |
|
---|
18 | state = ec.simple.SimpleEvolutionState
|
---|
19 | init = ec.simple.SimpleInitializer
|
---|
20 | finish = ec.simple.SimpleFinisher
|
---|
21 | exch = ec.simple.SimpleExchanger
|
---|
22 | breed = ec.simple.SimpleBreeder
|
---|
23 | eval = ec.simple.SimpleEvaluator
|
---|
24 | stat = ec.simple.SimpleStatistics
|
---|
25 | generations = 1000
|
---|
26 | quit-on-run-complete = true
|
---|
27 | pop = ec.Population
|
---|
28 | pop.subpops = 1
|
---|
29 | pop.subpop.0 = ec.Subpopulation
|
---|
30 | pop.subpop.0.duplicate-retries = 2
|
---|
31 | pop.subpop.0.species = ec.vector.FloatVectorSpecies
|
---|
32 | pop.subpop.0.species.pipe = ec.vector.breed.VectorMutationPipeline
|
---|
33 | pop.subpop.0.species.pipe.source.0 = ec.vector.breed.VectorCrossoverPipeline
|
---|
34 | pop.subpop.0.species.pipe.source.0.source.0 = ec.select.TournamentSelection
|
---|
35 | pop.subpop.0.species.pipe.source.0.source.1 = same
|
---|
36 |
|
---|
37 | pop.subpop.0.species.fitness = ec.simple.SimpleFitness
|
---|
38 | pop.subpop.0.species.ind = ec.vector.DoubleVectorIndividual
|
---|
39 | pop.subpop.0.species.mutation-bounded = true
|
---|
40 |
|
---|
41 | # you can change these to whatever tickles your fancy
|
---|
42 | pop.subpop.0.species.min-gene = -5.12
|
---|
43 | pop.subpop.0.species.max-gene = 5.12
|
---|
44 | pop.subpop.0.species.genome-size = 100
|
---|
45 |
|
---|
46 |
|
---|
47 | select.tournament.size = 2
|
---|
48 | pop.subpop.0.species.mutation-prob = 1.0
|
---|
49 | pop.subpop.0.species.crossover-type = one
|
---|
50 | pop.subpop.0.species.mutation-type = gauss
|
---|
51 | pop.subpop.0.species.mutation-stdev = 0.01
|
---|
52 |
|
---|
53 | pop.subpop.0.size = 1000
|
---|
54 | stat.file $out.stat
|
---|