Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/exchange/inter.params @ 10207

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

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

File size: 3.5 KB
RevLine 
[6152]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#
6# The following is an example of Inter-subpopulation exchange
7# within the same process, using three subpopulations,
8# with the GP Ant example. In the example below, we've set
9# up three subpopulations, and the exchange is as follows:
10# subpop 0 sends inds to subpops 1 and 2, subpop 1 sends
11# inds to subpop 2, and subpop 2 sends inds to subpop 0.
12# All three subpops start exchanging immediately (after
13# population initialization) and thereafter send every two
14# generations. They exchange 3 individuals each.
15#
16# If you're looking instead for multi-process, network island
17# models, see the 3-Island and 8-Island examples
18#
19
20parent.0 = ../app/ant/ant.params
21
22pop.subpops = 3
23
24pop.subpop.0 = ec.Subpopulation
25pop.subpop.0.size = 200
26pop.subpop.0.species = ec.gp.GPSpecies
27pop.subpop.0.species.fitness = ec.gp.koza.KozaFitness
28pop.subpop.0.species.ind = ec.gp.GPIndividual
29pop.subpop.0.duplicate-retries = 100
30pop.subpop.0.species.ind.numtrees = 1
31pop.subpop.0.species.ind.tree.0 = ec.gp.GPTree
32pop.subpop.0.species.ind.tree.0.tc = tc0
33pop.subpop.0.species.pipe = ec.breed.MultiBreedingPipeline
34pop.subpop.0.species.pipe.generate-max = false
35pop.subpop.0.species.pipe.num-sources = 2
36pop.subpop.0.species.pipe.source.0 = ec.gp.koza.CrossoverPipeline
37pop.subpop.0.species.pipe.source.0.prob = 0.9
38pop.subpop.0.species.pipe.source.1 = ec.breed.ReproductionPipeline
39pop.subpop.0.species.pipe.source.1.prob = 0.1
40
41pop.subpop.1 = ec.Subpopulation
42pop.subpop.1.size = 200
43pop.subpop.1.species = ec.gp.GPSpecies
44pop.subpop.1.species.fitness = ec.gp.koza.KozaFitness
45pop.subpop.1.species.ind = ec.gp.GPIndividual
46pop.subpop.1.duplicate-retries = 100
47pop.subpop.1.species.ind.numtrees = 1
48pop.subpop.1.species.ind.tree.0 = ec.gp.GPTree
49pop.subpop.1.species.ind.tree.0.tc = tc0
50pop.subpop.1.species.pipe = ec.breed.MultiBreedingPipeline
51pop.subpop.1.species.pipe.generate-max = false
52pop.subpop.1.species.pipe.num-sources = 2
53pop.subpop.1.species.pipe.source.0 = ec.gp.koza.CrossoverPipeline
54pop.subpop.1.species.pipe.source.0.prob = 0.9
55pop.subpop.1.species.pipe.source.1 = ec.breed.ReproductionPipeline
56pop.subpop.1.species.pipe.source.1.prob = 0.1
57
58pop.subpop.2 = ec.Subpopulation
59pop.subpop.2.size = 200
60pop.subpop.2.species = ec.gp.GPSpecies
61pop.subpop.2.species.fitness = ec.gp.koza.KozaFitness
62pop.subpop.2.species.ind = ec.gp.GPIndividual
63pop.subpop.2.duplicate-retries = 100
64pop.subpop.2.species.ind.numtrees = 1
65pop.subpop.2.species.ind.tree.0 = ec.gp.GPTree
66pop.subpop.2.species.ind.tree.0.tc = tc0
67pop.subpop.2.species.pipe = ec.breed.MultiBreedingPipeline
68pop.subpop.2.species.pipe.generate-max = false
69pop.subpop.2.species.pipe.num-sources = 2
70pop.subpop.2.species.pipe.source.0 = ec.gp.koza.CrossoverPipeline
71pop.subpop.2.species.pipe.source.0.prob = 0.9
72pop.subpop.2.species.pipe.source.1 = ec.breed.ReproductionPipeline
73pop.subpop.2.species.pipe.source.1.prob = 0.1
74
75exch = ec.exchange.InterPopulationExchange
76
77exch.subpop.0.select = ec.select.TournamentSelection
78exch.subpop.0.mod = 2
79exch.subpop.0.start = 0
80exch.subpop.0.size = 3
81exch.subpop.0.num-dest = 2
82exch.subpop.0.dest.0 = 1
83exch.subpop.0.dest.1 = 2
84
85exch.subpop.1.select = ec.select.TournamentSelection
86exch.subpop.1.mod = 2
87exch.subpop.1.start = 0
88exch.subpop.1.size = 3
89exch.subpop.1.num-dest = 1
90exch.subpop.1.dest.0 = 2
91
92exch.subpop.2.select = ec.select.TournamentSelection
93exch.subpop.2.mod = 2
94exch.subpop.2.start = 0
95exch.subpop.2.size = 3
96exch.subpop.2.num-dest = 1
97exch.subpop.2.dest.0 = 0
98
Note: See TracBrowser for help on using the repository browser.