|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.evolvica.core.AbstractIndividual
Abstract base class for individuals.
| Field Summary | |
protected IFitness |
fitness
The fitness of this individual. |
protected IGenotype |
genotype
The genotype of this individual. |
protected IPhenotypeBuilder |
phenoBuilder
The phenotype builder that is used to create phenotypes for given genotypes. |
protected IPhenotype |
phenotype
The phenotype of this individual. |
protected IScore |
score
The associated score of this individual. |
| Constructor Summary | |
AbstractIndividual()
|
|
| Method Summary | |
IFitness |
getFitness()
Returns the assigned fitness. |
IGenotype |
getGenotype()
Returns the assigned genotype. |
IPhenotype |
getPhenotype()
Returns the associated phenotype. |
IScore |
getScore()
Returns the assigned score. |
void |
setFitness(IFitness fitness)
Sets the fitness. |
void |
setGenotype(IGenotype genotype)
Sets the genotype of this individual. |
void |
setScore(IScore score)
Sets the score. |
java.lang.String |
toString()
Returns a string representation of this individual. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected IPhenotypeBuilder phenoBuilder
protected IGenotype genotype
protected IPhenotype phenotype
protected IScore score
protected IFitness fitness
| Constructor Detail |
public AbstractIndividual()
| Method Detail |
public IGenotype getGenotype()
getGenotype in interface IIndividualpublic void setGenotype(IGenotype genotype)
setGenotype in interface IIndividualgenotype - the genotype to setpublic IPhenotype getPhenotype()
getPhenotype in interface IIndividualpublic IScore getScore()
getScore in interface IIndividualpublic void setScore(IScore score)
setScore in interface IIndividualscore - the score to setpublic IFitness getFitness()
getFitness in interface IIndividualpublic void setFitness(IFitness fitness)
setFitness in interface IIndividualfitness - the fitness to setpublic java.lang.String toString()
|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||