Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core
Class AbstractGene

java.lang.Object
  extended byorg.evolvica.core.AbstractGene
All Implemented Interfaces:
IGenotype, java.io.Serializable
Direct Known Subclasses:
BinaryGene, DoubleArrayGene, DoubleGene, FloatArrayGene, FloatGene, IntegerArrayGene, IntegerGene, LongArrayGene, LongGene, StringGene

public abstract class AbstractGene
extends java.lang.Object
implements IGenotype

Abstract base class for a genotype.

Since:
0.4.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:57:51 $
Author:
Andreas Rummler
See Also:
Serialized Form

Constructor Summary
AbstractGene()
           
 
Method Summary
 IDatatype getType()
          Returns the type identifier of this genotype.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.evolvica.core.IGenotype
copy, toString
 

Constructor Detail

AbstractGene

public AbstractGene()
Method Detail

getType

public IDatatype getType()
Description copied from interface: IGenotype
Returns the type identifier of this genotype. Type identifiers are used for recognizing genotypes and for being able to perform validity checks in genetic operators.

Specified by:
getType in interface IGenotype
Returns:
the identifier of the genotype
See Also:
IGenotype.getType()

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems