KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgap > IApplicationData


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;
11
12 /**
13  * The Chromosome class allows to attach a custom object that is ignored by
14  * the genetic operations. Because the Chromosome holding it can be cloned
15  * and compared, the attached object should also. With this interface it is
16  * forced that the application object attached to the Chromosome with the
17  * setApplicationData-method is cloneable and comparable.
18  *
19  * @author Klaus Meffert
20  * @since 2.0
21  */

22 public interface IApplicationData extends Comparable JavaDoc, Cloneable JavaDoc {
23
24   /** String containing the CVS revision. Read out via reflection!*/
25   final static String JavaDoc CVS_REVISION = "$Revision: 1.3 $";
26
27   Object JavaDoc clone() throws CloneNotSupportedException JavaDoc;
28 }
29
Popular Tags