[6152] | 1 | The spatial package contains basic functionality for implementing spatially |
---|
| 2 | embedded (or so-called "fine-grained parallel") population models. In these |
---|
| 3 | models each subpopulation has its individuals spread out in some notional |
---|
| 4 | space (such as a grid), and breeding is accomplished by selecting an |
---|
| 5 | individual, picking a sufficiently fit "neighbor" of that individual, breeding |
---|
| 6 | the two, and replacing the original individual with the resulting child. The |
---|
| 7 | definition of the space and the notion of neighborhood is up to the particular |
---|
| 8 | space being used. The 'Space' interface defines the necessary functions |
---|
| 9 | for creating a subpopulation embedded with some space of your choosing. |
---|
| 10 | Use the SpatialTournamentSelection selection method to select individuals |
---|
| 11 | in your breeding pipeline, and a spatial Breeder. Classes of interest: |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | ec.spatial.Space |
---|
| 16 | |
---|
| 17 | An interface which includes methods necessary to embed notions of |
---|
| 18 | some kind of space into a subpopulation. |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | ec.spatial.Spatial1DSubpopulation |
---|
| 22 | |
---|
| 23 | A basic Subpopulation which implements Space to define a 1-dimensional |
---|
| 24 | toroidal space (that is, a ring). |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | ec.spatial.SpatialTournamentSelection |
---|
| 28 | |
---|
| 29 | A variation of Tournament Selection which only picks neighbors of the current |
---|
| 30 | individual as entrants into the tournament. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | ec.spatial.SpatialBreeder |
---|
| 34 | |
---|
| 35 | A version of Breeder which, working with SpatialTournamentSelection, |
---|
| 36 | iteratively walks through the subpopulation and breeds new individuals to |
---|
| 37 | replace each slot in the subpopulation while adhering to the Space constraints. |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | ec.spatial.SpatialMultiPopCoevolutionaryEvaluator |
---|
| 41 | |
---|
| 42 | A multi-population coevolutionary evaluator (similar to |
---|
| 43 | ec.coevolve.MultiPopCoevolutionaryEvaluator) which additionally can select |
---|
| 44 | one of the partners of a given individual(s) to be the individual in the exact |
---|
| 45 | same slot in the other subpopulation(s). |
---|
| 46 | |
---|
| 47 | |
---|