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: * Stores the result of a computation. Actually adds no functionality to
17: * superclass JGAPResult. Extend this class for your application if necessary.
18: * It is not necessary to use a class like this, you could simply use
19: * JGAPResult!
20: *
21: * @author Klaus Meffert
22: * @since 3.01
23: */
24: public class MyResult extends JGAPResult {
25: /** String containing the CVS revision. Read out via reflection!*/
26: private final static String CVS_REVISION = "$Revision: 1.3 $";
27:
28: /**
29: * Control the class' serializability via this attribute
30: */
31: private static final long serialVersionUID = 2L;
32:
33: public MyResult(String a_name, int a_id,
34: IChromosome a_fittestChrom, long a_unitdone) {
35: super (a_name, a_id, a_fittestChrom, a_unitdone);
36: }
37:
38: public MyResult(String a_name, int a_id, Population a_pop,
39: long a_unitdone) {
40: super(a_name, a_id, a_pop, a_unitdone);
41: }
42: }
|