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 = ../simple/simple.params |
---|
6 | |
---|
7 | # |
---|
8 | # The following parameter file will set up (mu,lambda) evolution, |
---|
9 | # single-threaded, no coevolution, no exchanging, |
---|
10 | # no cross-population breeding, using generational evolution, |
---|
11 | # simple fitness, popsize=1024, etc. |
---|
12 | # You'll need to fill in some of the gaps. |
---|
13 | # |
---|
14 | # This file tweaks some features in simple.params. Perhaps you might |
---|
15 | # change parent.0 to ../gp/koza/koza.params if you're doing GP (see below) |
---|
16 | # |
---|
17 | # Some notes: |
---|
18 | # 1. To perform truncation selection, include the ec.es.ESSelection |
---|
19 | # selection method in your breeding pipeline. You can mix in other |
---|
20 | # selection methods along with it. |
---|
21 | # |
---|
22 | # 2. You need to specify the mu and lambda values for each of your |
---|
23 | # subpopulations. This is different than past versions of ECJ where |
---|
24 | # you didn't specify the lambda -- it was inferred from the subpopulation |
---|
25 | # size. However, now, you are permitted to have whatever initial |
---|
26 | # subpopulation size you like. |
---|
27 | # |
---|
28 | # 3. If you want to do EP-style 50/50 truncation selection, I believe the |
---|
29 | # way to do it is to set your mu value to the same as the lambda, |
---|
30 | # and use ec.es.MuPlusLambdaBreeder. |
---|
31 | # |
---|
32 | |
---|
33 | # We begin by specifying the mu value for the first subpopulation, |
---|
34 | # You need to change this and/or specify mu values for additional |
---|
35 | # subpopulations as needed. We'll default the mu to 1. |
---|
36 | # We'll default the lambda to 10. What the heck. |
---|
37 | # ================================================================ |
---|
38 | |
---|
39 | es.mu.0 = 1 |
---|
40 | es.lambda.0 = 10 |
---|
41 | breed = ec.es.MuCommaLambdaBreeder |
---|
42 | |
---|
43 | # you'll need to remember to set up the system so that one, and exactly |
---|
44 | # one, selection method called each time is an ESSelectionMethod. Here's |
---|
45 | # how you could do it if you were doing Koza-style GP stuff: |
---|
46 | |
---|
47 | # gp.koza.reproduce.source.0 = ec.es.ESSelection |
---|
48 | # gp.koza.xover.source.0 = ec.es.ESSelection |
---|
49 | # gp.koza.xover.source.1 = ec.select.TournamentSelection |
---|
50 | # gp.koza.mutate.source.0 = ec.es.ESSelection |
---|
51 | |
---|