Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core
Interface IMultiGenotype

All Superinterfaces:
IGenotype, java.io.Serializable

public interface IMultiGenotype
extends IGenotype

Interface for a genotype containing multiple other genotypes. This interface is intended to be used for special purposes only. For creating specialized genotypes implementing the IGenotype interface is recommended. The contained genotypes are held together in an array-like structure.

Since:
0.4.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:57:54 $
Author:
Andreas Rummler

Method Summary
 IGenotype getGenotype(int index)
          Gets a genotype from a specific position.
 void setGenotype(IGenotype gene, int index)
          Sets a genotype at the given position.
 
Methods inherited from interface org.evolvica.core.IGenotype
copy, getType, toString
 

Method Detail

getGenotype

public IGenotype getGenotype(int index)
Gets a genotype from a specific position.

Parameters:
index - index of the genotype
Returns:
genotype at the given position

setGenotype

public void setGenotype(IGenotype gene,
                        int index)
Sets a genotype at the given position.

Parameters:
gene - the genotype that is to be set
index - the index of the genotype

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

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