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 = rosenbrock |
---|
9 | #eval.problem.type = rastrigin |
---|
10 | #eval.problem.type = griewangk |
---|
11 | #eval.problem.type = booth |
---|
12 | |
---|
13 | # |
---|
14 | # optionally your type could be: rosenbrock, sphere, step, noisy-quartic, |
---|
15 | # or kdj-f1, kdj-f2, kdj-f3, or kdj-f4 (the kdj-foo names |
---|
16 | # are just aliases for other problems, useful for people who might |
---|
17 | # know them as specific problems in the DeJong test suite) |
---|
18 | # |
---|
19 | |
---|
20 | seed.0 = time |
---|
21 | |
---|
22 | state = ec.simple.SimpleEvolutionState |
---|
23 | init = ec.simple.SimpleInitializer |
---|
24 | finish = ec.simple.SimpleFinisher |
---|
25 | exch = ec.simple.SimpleExchanger |
---|
26 | breed = ec.pso.PSOBreeder |
---|
27 | eval = ec.simple.SimpleEvaluator |
---|
28 | stat = ec.simple.SimpleStatistics |
---|
29 | generations = 200 |
---|
30 | quit-on-run-complete = true |
---|
31 | pop = ec.Population |
---|
32 | pop.subpops = 1 |
---|
33 | pop.subpop.0 = ec.pso.PSOSubpopulation |
---|
34 | pop.subpop.0.duplicate-retries = 2 |
---|
35 | pop.subpop.0.species = ec.vector.FloatVectorSpecies |
---|
36 | pop.subpop.0.species.fitness = ec.simple.SimpleFitness |
---|
37 | pop.subpop.0.species.pipe = ec.vector.breed.VectorMutationPipeline |
---|
38 | pop.subpop.0.species.pipe.source.0 = ec.vector.breed.VectorCrossoverPipeline |
---|
39 | pop.subpop.0.species.pipe.source.0.source.0 = ec.select.TournamentSelection |
---|
40 | pop.subpop.0.species.pipe.source.0.source.1 = same |
---|
41 | |
---|
42 | pop.subpop.0.species.ind = ec.vector.DoubleVectorIndividual |
---|
43 | |
---|
44 | # you can change these to whatever tickles your fancy |
---|
45 | pop.subpop.0.species.min-gene = -5.12 |
---|
46 | pop.subpop.0.species.max-gene = 5.12 |
---|
47 | pop.subpop.0.species.genome-size = 2 |
---|
48 | |
---|
49 | select.tournament.size = 2 |
---|
50 | pop.subpop.0.species.mutation-prob = 0.005 |
---|
51 | pop.subpop.0.species.crossover-type = one |
---|
52 | |
---|
53 | pop.subpop.0.size = 50 |
---|
54 | pop.subpop.0.neighborhood-size = 20 |
---|
55 | pop.subpop.0.clamp = false |
---|
56 | pop.subpop.0.initial-velocity-scale = 1.0 |
---|
57 | pop.subpop.0.velocity-multiplier = 1.5 |
---|
58 | |
---|
59 | stat.file $out.stat |
---|