Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/app/parity/adf.params @ 6152

Last change on this file since 6152 was 6152, checked in by bfarka, 13 years ago

added ecj and custom statistics to communicate with the okb services #1441

File size: 10.5 KB
Line 
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
5parent.0 = ../../gp/koza/koza.params
6
7# THIS IS A LONG FILE -- GO TO THE END IF YOU JUST
8# WANT TO CHANGE THE "N" IN "N"-PARITY
9
10# First, we're gonna change the number of trees in
11# the individual, to accommodate the ADFs
12# Each of our three trees uses a different tree constraints,
13# tc0, tc1, tc2
14
15pop.subpop.0.species.ind.numtrees = 3
16
17# "The result-producing branch" (the "third" tree in Koza-I p. 538)
18pop.subpop.0.species.ind.tree.0 = ec.gp.GPTree
19pop.subpop.0.species.ind.tree.0.tc = tc0
20# "ADF0 body" (the "first" tree in Koza-I p. 538)
21pop.subpop.0.species.ind.tree.1 = ec.gp.GPTree
22pop.subpop.0.species.ind.tree.1.tc = tc1
23# "ADF1 body" (the "second" tree in Koza-I p. 538)
24pop.subpop.0.species.ind.tree.2 = ec.gp.GPTree
25pop.subpop.0.species.ind.tree.2.tc = tc2
26
27
28
29# Now, let's define what tc0, tc1, and tc2 are.
30# Each has a different function set, f0, f1, and f2
31
32gp.tc.size = 3
33
34gp.tc.0 = ec.gp.GPTreeConstraints
35gp.tc.0.name = tc0
36gp.tc.0.fset = f0
37gp.tc.0.returns = nil
38gp.tc.0.init = ec.gp.koza.GrowBuilder
39gp.tc.0.init.growp = 0.5
40gp.tc.0.init.min = 2
41gp.tc.0.init.max = 6
42
43gp.tc.1 = ec.gp.GPTreeConstraints
44gp.tc.1.name = tc1
45gp.tc.1.fset = f1
46gp.tc.1.returns = nil
47gp.tc.1.init = ec.gp.koza.GrowBuilder
48gp.tc.1.init.growp = 0.5
49gp.tc.1.init.min = 2
50gp.tc.1.init.max = 6
51
52gp.tc.2 = ec.gp.GPTreeConstraints
53gp.tc.2.name = tc2
54gp.tc.2.fset = f2
55gp.tc.2.returns = nil
56gp.tc.2.init = ec.gp.koza.GrowBuilder
57gp.tc.2.init.growp = 0.5
58gp.tc.2.init.min = 2
59gp.tc.2.init.max = 6
60
61
62
63# Now we define the three function sets
64
65gp.fs.size = 3
66
67
68gp.fs.0.name = f0
69
70### The functions, carefully ordered :-)  (See below)
71gp.fs.0.func.0 = ec.app.parity.func.And
72gp.fs.0.func.0.nc = nc2
73gp.fs.0.func.1 = ec.app.parity.func.Or
74gp.fs.0.func.1.nc = nc2
75gp.fs.0.func.2 = ec.app.parity.func.Nand
76gp.fs.0.func.2.nc = nc2
77gp.fs.0.func.3 = ec.app.parity.func.Nor
78gp.fs.0.func.3.nc = nc2
79# ADF0 (2 arguments, tree 1)
80gp.fs.0.func.4 = ec.gp.ADF
81gp.fs.0.func.4.nc = nc2
82gp.fs.0.func.4.tree = 1
83gp.fs.0.func.4.name = ADF0
84
85# ADF1 (3 arguments, tree 2)
86gp.fs.0.func.5 = ec.gp.ADF
87gp.fs.0.func.5.nc = nc3
88gp.fs.0.func.5.tree = 2
89gp.fs.0.func.5.name = ADF1
90
91gp.fs.0.func.6 = ec.app.parity.func.D0
92gp.fs.0.func.6.nc = nc0
93gp.fs.0.func.7 = ec.app.parity.func.D1
94gp.fs.0.func.7.nc = nc0
95gp.fs.0.func.8 = ec.app.parity.func.D2
96gp.fs.0.func.8.nc = nc0
97gp.fs.0.func.9 = ec.app.parity.func.D3
98gp.fs.0.func.9.nc = nc0
99gp.fs.0.func.10 = ec.app.parity.func.D4
100gp.fs.0.func.10.nc = nc0
101gp.fs.0.func.11 = ec.app.parity.func.D5
102gp.fs.0.func.11.nc = nc0
103gp.fs.0.func.12 = ec.app.parity.func.D6
104gp.fs.0.func.12.nc = nc0
105gp.fs.0.func.13 = ec.app.parity.func.D7
106gp.fs.0.func.13.nc = nc0
107gp.fs.0.func.14 = ec.app.parity.func.D8
108gp.fs.0.func.14.nc = nc0
109gp.fs.0.func.15 = ec.app.parity.func.D9
110gp.fs.0.func.16.nc = nc0
111gp.fs.0.func.16 = ec.app.parity.func.D10
112gp.fs.0.func.16.nc = nc0
113gp.fs.0.func.17 = ec.app.parity.func.D11
114gp.fs.0.func.17.nc = nc0
115gp.fs.0.func.18 = ec.app.parity.func.D12
116gp.fs.0.func.18.nc = nc0
117gp.fs.0.func.19 = ec.app.parity.func.D13
118gp.fs.0.func.19.nc = nc0
119gp.fs.0.func.20 = ec.app.parity.func.D14
120gp.fs.0.func.20.nc = nc0
121gp.fs.0.func.21 = ec.app.parity.func.D15
122gp.fs.0.func.21.nc = nc0
123gp.fs.0.func.22 = ec.app.parity.func.D16
124gp.fs.0.func.22.nc = nc0
125gp.fs.0.func.23 = ec.app.parity.func.D17
126gp.fs.0.func.23.nc = nc0
127gp.fs.0.func.24 = ec.app.parity.func.D18
128gp.fs.0.func.24.nc = nc0
129gp.fs.0.func.25 = ec.app.parity.func.D19
130gp.fs.0.func.25.nc = nc0
131gp.fs.0.func.26 = ec.app.parity.func.D20
132gp.fs.0.func.26.nc = nc0
133gp.fs.0.func.27 = ec.app.parity.func.D21
134gp.fs.0.func.27.nc = nc0
135gp.fs.0.func.28 = ec.app.parity.func.D22
136gp.fs.0.func.28.nc = nc0
137gp.fs.0.func.29 = ec.app.parity.func.D23
138gp.fs.0.func.29.nc = nc0
139gp.fs.0.func.30 = ec.app.parity.func.D24
140gp.fs.0.func.30.nc = nc0
141gp.fs.0.func.31 = ec.app.parity.func.D25
142gp.fs.0.func.31.nc = nc0
143gp.fs.0.func.32 = ec.app.parity.func.D26
144gp.fs.0.func.32.nc = nc0
145gp.fs.0.func.33 = ec.app.parity.func.D27
146gp.fs.0.func.33.nc = nc0
147gp.fs.0.func.34 = ec.app.parity.func.D28
148gp.fs.0.func.34.nc = nc0
149gp.fs.0.func.35 = ec.app.parity.func.D29
150gp.fs.0.func.35.nc = nc0
151gp.fs.0.func.36 = ec.app.parity.func.D30
152gp.fs.0.func.36.nc = nc0
153gp.fs.0.func.37 = ec.app.parity.func.D31
154gp.fs.0.func.37.nc = nc0
155
156
157
158# ADF1's tree
159gp.fs.1.name = f1
160gp.fs.1 = ec.gp.GPFunctionSet
161
162### The functions, carefully ordered :-)  (See below)
163gp.fs.1.func.0 = ec.app.parity.func.And
164gp.fs.1.func.0.nc = nc2
165gp.fs.1.func.1 = ec.app.parity.func.Or
166gp.fs.1.func.1.nc = nc2
167gp.fs.1.func.2 = ec.app.parity.func.Nand
168gp.fs.1.func.2.nc = nc2
169gp.fs.1.func.3 = ec.app.parity.func.Nor
170gp.fs.1.func.3.nc = nc2
171# ARG0
172gp.fs.1.func.4 = ec.gp.ADFArgument
173gp.fs.1.func.4.nc = nc0
174gp.fs.1.func.4.arg = 0
175gp.fs.1.func.4.name = ARG0
176
177# ARG1
178gp.fs.1.func.5 = ec.gp.ADFArgument
179gp.fs.1.func.5.nc = nc0
180gp.fs.1.func.5.arg = 1
181gp.fs.1.func.5.name = ARG1
182
183gp.fs.1.func.6 = ec.app.parity.func.D0
184gp.fs.1.func.6.nc = nc0
185gp.fs.1.func.7 = ec.app.parity.func.D1
186gp.fs.1.func.7.nc = nc0
187gp.fs.1.func.8 = ec.app.parity.func.D2
188gp.fs.1.func.8.nc = nc0
189gp.fs.1.func.9 = ec.app.parity.func.D3
190gp.fs.1.func.9.nc = nc0
191gp.fs.1.func.10 = ec.app.parity.func.D4
192gp.fs.1.func.10.nc = nc0
193gp.fs.1.func.11 = ec.app.parity.func.D5
194gp.fs.1.func.11.nc = nc0
195gp.fs.1.func.12 = ec.app.parity.func.D6
196gp.fs.1.func.12.nc = nc0
197gp.fs.1.func.13 = ec.app.parity.func.D7
198gp.fs.1.func.13.nc = nc0
199gp.fs.1.func.14 = ec.app.parity.func.D8
200gp.fs.1.func.14.nc = nc0
201gp.fs.1.func.15 = ec.app.parity.func.D9
202gp.fs.1.func.16.nc = nc0
203gp.fs.1.func.16 = ec.app.parity.func.D10
204gp.fs.1.func.16.nc = nc0
205gp.fs.1.func.17 = ec.app.parity.func.D11
206gp.fs.1.func.17.nc = nc0
207gp.fs.1.func.18 = ec.app.parity.func.D12
208gp.fs.1.func.18.nc = nc0
209gp.fs.1.func.19 = ec.app.parity.func.D13
210gp.fs.1.func.19.nc = nc0
211gp.fs.1.func.20 = ec.app.parity.func.D14
212gp.fs.1.func.20.nc = nc0
213gp.fs.1.func.21 = ec.app.parity.func.D15
214gp.fs.1.func.21.nc = nc0
215gp.fs.1.func.22 = ec.app.parity.func.D16
216gp.fs.1.func.22.nc = nc0
217gp.fs.1.func.23 = ec.app.parity.func.D17
218gp.fs.1.func.23.nc = nc0
219gp.fs.1.func.24 = ec.app.parity.func.D18
220gp.fs.1.func.24.nc = nc0
221gp.fs.1.func.25 = ec.app.parity.func.D19
222gp.fs.1.func.25.nc = nc0
223gp.fs.1.func.26 = ec.app.parity.func.D20
224gp.fs.1.func.26.nc = nc0
225gp.fs.1.func.27 = ec.app.parity.func.D21
226gp.fs.1.func.27.nc = nc0
227gp.fs.1.func.28 = ec.app.parity.func.D22
228gp.fs.1.func.28.nc = nc0
229gp.fs.1.func.29 = ec.app.parity.func.D23
230gp.fs.1.func.29.nc = nc0
231gp.fs.1.func.30 = ec.app.parity.func.D24
232gp.fs.1.func.30.nc = nc0
233gp.fs.1.func.31 = ec.app.parity.func.D25
234gp.fs.1.func.31.nc = nc0
235gp.fs.1.func.32 = ec.app.parity.func.D26
236gp.fs.1.func.32.nc = nc0
237gp.fs.1.func.33 = ec.app.parity.func.D27
238gp.fs.1.func.33.nc = nc0
239gp.fs.1.func.34 = ec.app.parity.func.D28
240gp.fs.1.func.34.nc = nc0
241gp.fs.1.func.35 = ec.app.parity.func.D29
242gp.fs.1.func.35.nc = nc0
243gp.fs.1.func.36 = ec.app.parity.func.D30
244gp.fs.1.func.36.nc = nc0
245gp.fs.1.func.37 = ec.app.parity.func.D31
246gp.fs.1.func.37.nc = nc0
247
248
249
250
251
252## ADF0's tree
253gp.fs.2.name = f2
254gp.fs.2 = ec.gp.GPFunctionSet
255
256### The functions, carefully ordered :-)  (See below)
257gp.fs.2.func.0 = ec.app.parity.func.And
258gp.fs.2.func.0.nc = nc2
259gp.fs.2.func.1 = ec.app.parity.func.Or
260gp.fs.2.func.1.nc = nc2
261gp.fs.2.func.2 = ec.app.parity.func.Nand
262gp.fs.2.func.2.nc = nc2
263gp.fs.2.func.3 = ec.app.parity.func.Nor
264gp.fs.2.func.3.nc = nc2
265# ARG0
266gp.fs.2.func.4 = ec.gp.ADFArgument
267gp.fs.2.func.4.nc = nc0
268gp.fs.2.func.4.arg = 0
269gp.fs.2.func.4.name = ARG0
270
271# ARG1
272gp.fs.2.func.5 = ec.gp.ADFArgument
273gp.fs.2.func.5.nc = nc0
274gp.fs.2.func.5.arg = 1
275gp.fs.2.func.5.name = ARG1
276
277# ARG2
278gp.fs.2.func.6 = ec.gp.ADFArgument
279gp.fs.2.func.6.nc = nc0
280gp.fs.2.func.6.arg = 2
281gp.fs.2.func.6.name = ARG2
282
283gp.fs.2.func.7 = ec.app.parity.func.D0
284gp.fs.2.func.7.nc = nc0
285gp.fs.2.func.8 = ec.app.parity.func.D1
286gp.fs.2.func.8.nc = nc0
287gp.fs.2.func.9 = ec.app.parity.func.D2
288gp.fs.2.func.9.nc = nc0
289gp.fs.2.func.10 = ec.app.parity.func.D3
290gp.fs.2.func.10.nc = nc0
291gp.fs.2.func.11 = ec.app.parity.func.D4
292gp.fs.2.func.11.nc = nc0
293gp.fs.2.func.12 = ec.app.parity.func.D5
294gp.fs.2.func.12.nc = nc0
295gp.fs.2.func.13 = ec.app.parity.func.D6
296gp.fs.2.func.13.nc = nc0
297gp.fs.2.func.14 = ec.app.parity.func.D7
298gp.fs.2.func.14.nc = nc0
299gp.fs.2.func.15 = ec.app.parity.func.D8
300gp.fs.2.func.16.nc = nc0
301gp.fs.2.func.16 = ec.app.parity.func.D9
302gp.fs.2.func.16.nc = nc0
303gp.fs.2.func.17 = ec.app.parity.func.D10
304gp.fs.2.func.17.nc = nc0
305gp.fs.2.func.18 = ec.app.parity.func.D11
306gp.fs.2.func.18.nc = nc0
307gp.fs.2.func.19 = ec.app.parity.func.D12
308gp.fs.2.func.19.nc = nc0
309gp.fs.2.func.20 = ec.app.parity.func.D13
310gp.fs.2.func.20.nc = nc0
311gp.fs.2.func.21 = ec.app.parity.func.D14
312gp.fs.2.func.21.nc = nc0
313gp.fs.2.func.22 = ec.app.parity.func.D15
314gp.fs.2.func.22.nc = nc0
315gp.fs.2.func.23 = ec.app.parity.func.D16
316gp.fs.2.func.23.nc = nc0
317gp.fs.2.func.24 = ec.app.parity.func.D17
318gp.fs.2.func.24.nc = nc0
319gp.fs.2.func.25 = ec.app.parity.func.D18
320gp.fs.2.func.25.nc = nc0
321gp.fs.2.func.26 = ec.app.parity.func.D19
322gp.fs.2.func.26.nc = nc0
323gp.fs.2.func.27 = ec.app.parity.func.D20
324gp.fs.2.func.27.nc = nc0
325gp.fs.2.func.28 = ec.app.parity.func.D21
326gp.fs.2.func.28.nc = nc0
327gp.fs.2.func.29 = ec.app.parity.func.D22
328gp.fs.2.func.29.nc = nc0
329gp.fs.2.func.30 = ec.app.parity.func.D23
330gp.fs.2.func.30.nc = nc0
331gp.fs.2.func.31 = ec.app.parity.func.D24
332gp.fs.2.func.31.nc = nc0
333gp.fs.2.func.32 = ec.app.parity.func.D25
334gp.fs.2.func.32.nc = nc0
335gp.fs.2.func.33 = ec.app.parity.func.D26
336gp.fs.2.func.33.nc = nc0
337gp.fs.2.func.34 = ec.app.parity.func.D27
338gp.fs.2.func.34.nc = nc0
339gp.fs.2.func.35 = ec.app.parity.func.D28
340gp.fs.2.func.35.nc = nc0
341gp.fs.2.func.36 = ec.app.parity.func.D29
342gp.fs.2.func.36.nc = nc0
343gp.fs.2.func.37 = ec.app.parity.func.D30
344gp.fs.2.func.37.nc = nc0
345gp.fs.2.func.38 = ec.app.parity.func.D31
346gp.fs.2.func.38.nc = nc0
347
348
349# We specify our problem here
350#
351
352eval.problem = ec.app.parity.Parity
353eval.problem.data = ec.app.parity.ParityData
354
355
356# Here we determine what kind of Parity we're doing:
357eval.problem.bits = 4
358eval.problem.even = true
359
360# this value must always be set to *6* more than eval.problem.bits
361gp.fs.0.size = 10
362# this value must always be set to *6* more than eval.problem.bits
363gp.fs.1.size = 10
364# this value must always be set to *7* more than eval.problem.bits
365gp.fs.2.size = 11
Note: See TracBrowser for help on using the repository browser.