KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > examples > grid > fitnessDistributed > MyRequest


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 examples.grid.fitnessDistributed;
11
12 import org.jgap.distr.grid.*;
13 import org.jgap.*;
14
15 /**
16  * An instance splitting a single request into multiple requests that will be
17  * sent to multiple workers for computation.
18  *
19  * @author Klaus Meffert
20  * @since 3.01
21  */

22 public class MyRequest
23     extends JGAPRequest {
24   /** String containing the CVS revision. Read out via reflection!*/
25   private final static String JavaDoc CVS_REVISION = "$Revision: 1.2 $";
26
27   public MyRequest(String JavaDoc name, int id, Configuration a_config) {
28     super(name, id, a_config);
29   }
30
31   public MyRequest(String JavaDoc name, int id, Configuration a_config, Population a_pop) {
32     super(name, id, a_config, a_pop);
33   }
34
35   /**
36    * @return deep clone of current instance
37    *
38    * @author Klaus Meffert
39    * @since 3.2
40    */

41   public Object JavaDoc clone() {
42     return super.clone();
43   }
44 }
45
Popular Tags