|
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 | ||||||||||
Interface for an individual.
| Method Summary | |
IFitness |
getFitness()
Returns the fitness of this individual. |
IGenotype |
getGenotype()
Gets the genotype that is assigned to this individual. |
IPhenotype |
getPhenotype()
Returns the phenotype of this individual (if any). |
IScore |
getScore()
Returns the score of this individual. |
void |
setFitness(IFitness fitness)
Sets a new fitness for this individual. |
void |
setGenotype(IGenotype genotype)
Sets a new genotype. |
void |
setScore(IScore score)
Sets a new to to this individual. |
| Method Detail |
public IGenotype getGenotype()
public void setGenotype(IGenotype genotype)
genotype - new genotypepublic IPhenotype getPhenotype()
public IScore getScore()
public void setScore(IScore score)
score - score to be setpublic IFitness getFitness()
public void setFitness(IFitness fitness)
fitness - new fitness
|
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 | ||||||||||