01: /*
02: * This file is part of JGAP.
03: *
04: * JGAP offers a dual license model containing the LGPL as well as the MPL.
05: *
06: * For licencing information please see the file license.txt included with JGAP
07: * or have a look at the top of class org.jgap.Chromosome which representatively
08: * includes the JGAP license policy applicable for any file delivered with JGAP.
09: */
10: package examples.grid.evolutionDistributed;
11:
12: import org.jgap.distr.grid.*;
13: import org.jgap.*;
14:
15: /**
16: * Sample implementation of IWorkerEvolveStrategy.
17: *
18: * @author Klaus Meffert
19: * @since 3.2
20: */
21: public class MyEvolveStrategy implements IWorkerEvolveStrategy {
22: /** String containing the CVS revision. Read out via reflection!*/
23: private final static String CVS_REVISION = "$Revision: 1.1 $";
24:
25: public void evolve(Genotype a_genotype) {
26: a_genotype.evolve(40);
27: }
28: }
|