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 = ../coevolve2/coevolve2.params
|
---|
6 |
|
---|
7 | # The breeder is of type SpatialBreeder to take advantage of the spatially-embedded population
|
---|
8 | breed = ec.spatial.SpatialBreeder
|
---|
9 |
|
---|
10 | # We use the SpatialMultiPopCoevolutionaryEvaluator class, which selects partners in the vecinity of the
|
---|
11 | # location where the child will be created (it assumes all populations have the same spatial embedding).
|
---|
12 | eval = ec.spatial.SpatialMultiPopCoevolutionaryEvaluator
|
---|
13 |
|
---|
14 | # Notice that multiple partners (collaborators) can be selected for evaluating each individual. In our
|
---|
15 | # experiments, we have found that selecting just the partner at the same location in the other populations
|
---|
16 | # works best; this is what the following settings accomplish.
|
---|
17 | eval.subpop.0.use-same-location-partners = true
|
---|
18 | eval.subpop.0.num-partners = 1
|
---|
19 | eval.subpop.0.select = ec.spatial.SpatialTournamentSelection
|
---|
20 | eval.subpop.0.select.size = 1
|
---|
21 | eval.subpop.0.select.neighborhood-size = 1
|
---|
22 |
|
---|
23 | eval.subpop.1.use-same-location-partners = true
|
---|
24 | eval.subpop.1.num-partners = 1
|
---|
25 | eval.subpop.1.select = ec.spatial.SpatialTournamentSelection
|
---|
26 | eval.subpop.1.select.size = 1
|
---|
27 | eval.subpop.1.select.neighborhood-size = 1
|
---|
28 |
|
---|
29 |
|
---|
30 | # The last three lines of each of the following two groups
|
---|
31 | # could have been replaced with just:
|
---|
32 | # spatial.tournament.size = 2
|
---|
33 | # spatial.tournament.neighborhood-size = 2
|
---|
34 | # spatial.tournament.ind-competes = true
|
---|
35 |
|
---|
36 | pop.subpops = 2
|
---|
37 | pop.subpop.0 = ec.spatial.Spatial1DSubpopulation
|
---|
38 | pop.subpop.0.size = 32
|
---|
39 | pop.subpop.0.species.pipe.source.0 = ec.spatial.SpatialTournamentSelection
|
---|
40 | pop.subpop.0.species.pipe.source.0.size = 2
|
---|
41 | pop.subpop.0.species.pipe.source.0.neighborhood-size = 2
|
---|
42 | pop.subpop.0.species.pipe.source.0.ind-competes = true
|
---|
43 |
|
---|
44 | pop.subpop.1 = ec.spatial.Spatial1DSubpopulation
|
---|
45 | pop.subpop.1.size = 32
|
---|
46 | pop.subpop.1.species.pipe.source.0 = ec.spatial.SpatialTournamentSelection
|
---|
47 | pop.subpop.1.species.pipe.source.0.size = 2
|
---|
48 | pop.subpop.1.species.pipe.source.0.neighborhood-size = 2
|
---|
49 | pop.subpop.1.species.pipe.source.0.ind-competes = true
|
---|
50 |
|
---|