KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgap > distr > grid > IGridConfiguration


1 /*
2  * This file is part of JGAP.
3  *
4  * JGAP offers a dual license model containing the LGPL as well as the MPL.
5  *
6  * For licencing information please see the file license.txt included with JGAP
7  * or have a look at the top of class org.jgap.Chromosome which representatively
8  * includes the JGAP license policy applicable for any file delivered with JGAP.
9  */

10 package org.jgap.distr.grid;
11
12 import java.io.*;
13
14 import org.homedns.dade.jcgrid.client.*;
15 import org.jgap.*;
16
17 /**
18  * Interface for a grid configuration. It provides all information necessary
19  * to define a problem and a strategy to distributedly solve the problem.
20  *
21  * @author Klaus Meffert
22  * @since 3.2
23  */

24 public interface IGridConfiguration
25     extends Serializable {
26   /** String containing the CVS revision. Read out via reflection!*/
27   final static String JavaDoc CVS_REVISION = "$Revision: 1.1 $";
28
29   IClientFeedback getClientFeedback();
30
31   IClientEvolveStrategy getClientEvolveStrategy();
32
33   IRequestSplitStrategy getRequestSplitStrategy();
34
35   Configuration getConfiguration();
36
37   IWorkerEvolveStrategy getWorkerEvolveStrategy();
38
39   void setWorkerEvolveStrategy(IWorkerEvolveStrategy a_strategy);
40
41   void setClientEvolveStrategy(IClientEvolveStrategy
42                                a_strategy);
43
44   void setClientFeedback(IClientFeedback a_clientFeedback);
45
46   void setRequestSplitStrategy(IRequestSplitStrategy a_splitStrategy);
47
48   IWorkerReturnStrategy getWorkerReturnStrategy();
49
50   void setWorkerReturnStrategy(IWorkerReturnStrategy a_strategy);
51
52   IGenotypeInitializer getGenotypeInitializer();
53
54   void setGenotypeInitializer(IGenotypeInitializer a_initializer);
55
56   void initialize(GridNodeClientConfig gridconfig)
57       throws Exception JavaDoc;
58
59   void validate()
60       throws Exception JavaDoc;
61 }
62
Popular Tags