JGAP

org.jgap.distr.grid
Interface IClientEvolveStrategy

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ClientEvolveStrategy, ClientEvolveStrategy

public interface IClientEvolveStrategy
extends java.io.Serializable

Interface for defining a strategy that controls how a client evolves generations.

Since:
3.2

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 void afterWorkRequestsSent()
           
 void evolve()
           
 JGAPRequest[] generateWorkRequests(JGAPRequest m_workReq, IRequestSplitStrategy m_splitStrategy, java.lang.Object a_genericData)
           
 void initialize(GridClient a_gc, Configuration a_config, IClientFeedback a_clientFeedback)
           
 boolean isEvolutionFinished(int a_evolutionsDone)
           
 void onFinished()
           
 void resultReceived(JGAPResult a_result)
           
 

Field Detail

CVS_REVISION

static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!

See Also:
Constant Field Values
Method Detail

initialize

void initialize(GridClient a_gc,
                Configuration a_config,
                IClientFeedback a_clientFeedback)
                throws java.lang.Exception
Throws:
java.lang.Exception

generateWorkRequests

JGAPRequest[] generateWorkRequests(JGAPRequest m_workReq,
                                   IRequestSplitStrategy m_splitStrategy,
                                   java.lang.Object a_genericData)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

resultReceived

void resultReceived(JGAPResult a_result)
                    throws java.lang.Exception
Throws:
java.lang.Exception

isEvolutionFinished

boolean isEvolutionFinished(int a_evolutionsDone)

onFinished

void onFinished()

afterWorkRequestsSent

void afterWorkRequestsSent()
                           throws java.lang.Exception
Throws:
java.lang.Exception

evolve

void evolve()
            throws java.lang.Exception
Throws:
java.lang.Exception

JGAP