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 = ../../gp/koza/koza.params
|
---|
6 |
|
---|
7 |
|
---|
8 | # Stolen from koza/params -- overwriting just
|
---|
9 | # a little for readability
|
---|
10 | # You need to create at least one function set,
|
---|
11 | # called "f0", which your first tree will use.
|
---|
12 |
|
---|
13 | gp.fs.size = 1
|
---|
14 | gp.fs.0.name = f0
|
---|
15 |
|
---|
16 | ### The functions, carefully ordered :-) (See below)
|
---|
17 |
|
---|
18 | gp.fs.0.func.0 = ec.app.parity.func.And
|
---|
19 | gp.fs.0.func.0.nc = nc2
|
---|
20 | gp.fs.0.func.1 = ec.app.parity.func.Or
|
---|
21 | gp.fs.0.func.1.nc = nc2
|
---|
22 | gp.fs.0.func.2 = ec.app.parity.func.Nand
|
---|
23 | gp.fs.0.func.2.nc = nc2
|
---|
24 | gp.fs.0.func.3 = ec.app.parity.func.Nor
|
---|
25 | gp.fs.0.func.3.nc = nc2
|
---|
26 | gp.fs.0.func.4 = ec.app.parity.func.D0
|
---|
27 | gp.fs.0.func.4.nc = nc0
|
---|
28 | gp.fs.0.func.5 = ec.app.parity.func.D1
|
---|
29 | gp.fs.0.func.5.nc = nc0
|
---|
30 | gp.fs.0.func.6 = ec.app.parity.func.D2
|
---|
31 | gp.fs.0.func.6.nc = nc0
|
---|
32 | gp.fs.0.func.7 = ec.app.parity.func.D3
|
---|
33 | gp.fs.0.func.7.nc = nc0
|
---|
34 | gp.fs.0.func.8 = ec.app.parity.func.D4
|
---|
35 | gp.fs.0.func.8.nc = nc0
|
---|
36 | gp.fs.0.func.9 = ec.app.parity.func.D5
|
---|
37 | gp.fs.0.func.9.nc = nc0
|
---|
38 | gp.fs.0.func.10 = ec.app.parity.func.D6
|
---|
39 | gp.fs.0.func.10.nc = nc0
|
---|
40 | gp.fs.0.func.11 = ec.app.parity.func.D7
|
---|
41 | gp.fs.0.func.11.nc = nc0
|
---|
42 | gp.fs.0.func.12 = ec.app.parity.func.D8
|
---|
43 | gp.fs.0.func.12.nc = nc0
|
---|
44 | gp.fs.0.func.13 = ec.app.parity.func.D9
|
---|
45 | gp.fs.0.func.13.nc = nc0
|
---|
46 | gp.fs.0.func.14 = ec.app.parity.func.D10
|
---|
47 | gp.fs.0.func.14.nc = nc0
|
---|
48 | gp.fs.0.func.15 = ec.app.parity.func.D11
|
---|
49 | gp.fs.0.func.15.nc = nc0
|
---|
50 | gp.fs.0.func.16 = ec.app.parity.func.D12
|
---|
51 | gp.fs.0.func.16.nc = nc0
|
---|
52 | gp.fs.0.func.17 = ec.app.parity.func.D13
|
---|
53 | gp.fs.0.func.17.nc = nc0
|
---|
54 | gp.fs.0.func.18 = ec.app.parity.func.D14
|
---|
55 | gp.fs.0.func.18.nc = nc0
|
---|
56 | gp.fs.0.func.19 = ec.app.parity.func.D15
|
---|
57 | gp.fs.0.func.19.nc = nc0
|
---|
58 | gp.fs.0.func.20 = ec.app.parity.func.D16
|
---|
59 | gp.fs.0.func.20.nc = nc0
|
---|
60 | gp.fs.0.func.21 = ec.app.parity.func.D17
|
---|
61 | gp.fs.0.func.21.nc = nc0
|
---|
62 | gp.fs.0.func.22 = ec.app.parity.func.D18
|
---|
63 | gp.fs.0.func.22.nc = nc0
|
---|
64 | gp.fs.0.func.23 = ec.app.parity.func.D19
|
---|
65 | gp.fs.0.func.23.nc = nc0
|
---|
66 | gp.fs.0.func.24 = ec.app.parity.func.D20
|
---|
67 | gp.fs.0.func.24.nc = nc0
|
---|
68 | gp.fs.0.func.25 = ec.app.parity.func.D21
|
---|
69 | gp.fs.0.func.25.nc = nc0
|
---|
70 | gp.fs.0.func.26 = ec.app.parity.func.D22
|
---|
71 | gp.fs.0.func.26.nc = nc0
|
---|
72 | gp.fs.0.func.27 = ec.app.parity.func.D23
|
---|
73 | gp.fs.0.func.27.nc = nc0
|
---|
74 | gp.fs.0.func.28 = ec.app.parity.func.D24
|
---|
75 | gp.fs.0.func.28.nc = nc0
|
---|
76 | gp.fs.0.func.29 = ec.app.parity.func.D25
|
---|
77 | gp.fs.0.func.29.nc = nc0
|
---|
78 | gp.fs.0.func.30 = ec.app.parity.func.D26
|
---|
79 | gp.fs.0.func.30.nc = nc0
|
---|
80 | gp.fs.0.func.31 = ec.app.parity.func.D27
|
---|
81 | gp.fs.0.func.31.nc = nc0
|
---|
82 | gp.fs.0.func.32 = ec.app.parity.func.D28
|
---|
83 | gp.fs.0.func.32.nc = nc0
|
---|
84 | gp.fs.0.func.33 = ec.app.parity.func.D29
|
---|
85 | gp.fs.0.func.33.nc = nc0
|
---|
86 | gp.fs.0.func.34 = ec.app.parity.func.D30
|
---|
87 | gp.fs.0.func.34.nc = nc0
|
---|
88 | gp.fs.0.func.35 = ec.app.parity.func.D31
|
---|
89 | gp.fs.0.func.35.nc = nc0
|
---|
90 |
|
---|
91 |
|
---|
92 | #
|
---|
93 | # We specify our problem here
|
---|
94 | #
|
---|
95 |
|
---|
96 | eval.problem = ec.app.parity.Parity
|
---|
97 | eval.problem.data = ec.app.parity.ParityData
|
---|
98 |
|
---|
99 |
|
---|
100 | # Here we determine what kind of Parity we're doing:
|
---|
101 | eval.problem.bits = 12
|
---|
102 | eval.problem.even = true
|
---|
103 |
|
---|
104 | # this value must always be set to *4* more than eval.problem.bits
|
---|
105 | gp.fs.0.size = 16
|
---|
106 |
|
---|
107 |
|
---|