| java.lang.Object org.jgap.gp.GPProblem examples.grid.mathProblemDistributed.ClientEvolveStrategy
ClientEvolveStrategy | public class ClientEvolveStrategy extends GPProblem implements IClientEvolveStrategyGP(Code) | | Sample implementation of a strategy for evolving a generation on the client.
author: Klaus Meffert since: 3.2 |
CVS_REVISION | final public static String CVS_REVISION(Code) | | String containing the CVS revision. Read out via reflection!
|
ClientEvolveStrategy | public ClientEvolveStrategy()(Code) | | Default constructor is necessary here as it will be called dynamically!
Don't declare any other constructor as it will not be called!
|
afterWorkRequestsSent | public void afterWorkRequestsSent() throws Exception(Code) | | |
initialize | public void initialize(GridClient a_gc, GPConfiguration a_config, IClientFeedbackGP a_clientFeedback) throws Exception(Code) | | Called at the very beginning and only once before distributed evolution
starts.
Parameters: a_gc - GridClient Parameters: a_config - Configuration Parameters: a_clientFeedback - IClientFeedback throws: Exception - author: Klaus Meffert since: 3.2 |
isEvolutionFinished | public boolean isEvolutionFinished(int a_evolutionsDone)(Code) | | |
onFinished | public void onFinished()(Code) | | Called after evolution has finished.
|
resultReceived | public void resultReceived(JGAPResultGP a_result) throws Exception(Code) | | Merge the received results as a basis for the next evolution.
Parameters: a_result - JGAPResult throws: Exception - since: 3.2 |
|
|