01: /*
02: * This file is part of JGAP.
03: *
04: * JGAP offers a dual license model containing the LGPL as well as the MPL.
05: *
06: * For licencing information please see the file license.txt included with JGAP
07: * or have a look at the top of class org.jgap.Chromosome which representatively
08: * includes the JGAP license policy applicable for any file delivered with JGAP.
09: */
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 extends JGAPRequest {
23: /** String containing the CVS revision. Read out via reflection!*/
24: private final static String CVS_REVISION = "$Revision: 1.2 $";
25:
26: public MyRequest(String name, int id, Configuration a_config) {
27: super (name, id, a_config);
28: }
29:
30: public MyRequest(String name, int id, Configuration a_config,
31: 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 clone() {
42: return super.clone();
43: }
44: }
|