?? myevolvestrategy.java
字號:
/*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licencing information please see the file license.txt included with JGAP
* or have a look at the top of class org.jgap.Chromosome which representatively
* includes the JGAP license policy applicable for any file delivered with JGAP.
*/
package examples.grid.evolutionDistributed;
import org.jgap.distr.grid.*;
import org.jgap.*;
/**
* Sample implementation of IWorkerEvolveStrategy.
*
* @author Klaus Meffert
* @since 3.2
*/
public class MyEvolveStrategy implements IWorkerEvolveStrategy {
/** String containing the CVS revision. Read out via reflection!*/
private final static String CVS_REVISION = "$Revision: 1.1 $";
public void evolve(Genotype a_genotype) {
a_genotype.evolve(40);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -