1 10 package org.jgap.distr.grid; 11 12 import java.io.*; 13 import org.jgap.*; 14 import org.homedns.dade.jcgrid.client.*; 15 16 23 public interface IClientEvolveStrategy 24 extends Serializable { 25 26 final static String CVS_REVISION = "$Revision: 1.2 $"; 27 28 void initialize(GridClient a_gc, Configuration a_config, 29 IClientFeedback a_clientFeedback) 30 throws Exception ; 31 32 JGAPRequest[] generateWorkRequests(JGAPRequest m_workReq, 33 IRequestSplitStrategy m_splitStrategy, 34 Object a_genericData) 35 throws Exception ; 36 37 void resultReceived(JGAPResult a_result) 38 throws Exception ; 39 40 boolean isEvolutionFinished(int a_evolutionsDone); 41 42 void onFinished(); 43 44 void afterWorkRequestsSent() 45 throws Exception ; 46 47 void evolve() 48 throws Exception ; 49 } 50 | Popular Tags |