| Trees | Indices | Help |
|
|---|
|
|
object --+
|
GeneralPointCrossover --+
|
InterleaveCrossover
Demonstration class for Interleaving crossover. Interleaving: AbCdEfG, aBcDeFg
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize to do crossovers at the specified probability.
|
Generalized Location Generator:
arguments:
bound (int) - upper bound
returns: [0]+x_0...x_n+[bound]
where n=self._npoints-1
and 0 < x_0 < x_1 ... < bound
|
Generalized Crossover Function:
arguments:
x (int) - genome number [0|1]
no (organism,organism)
- new organisms
locs (int list, int list)
- lists of locations,
[0, +n points+, bound]
for each genome (sync'd with x)
return type: sequence (to replace no[x])
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 17:59:51 2013 | http://epydoc.sourceforge.net |