org.encog.ml.ea.genome
public interface Genome extends MLMethod
Modifier and Type | Method and Description |
---|---|
void |
copy(Genome source)
Copy from the specified genome into this one.
|
double |
getAdjustedScore()
Get the adjusted score, this considers old-age penalties and youth
bonuses.
|
int |
getBirthGeneration() |
Population |
getPopulation() |
double |
getScore() |
Species |
getSpecies() |
void |
setAdjustedScore(double adjustedScore)
Set the adjusted score.
|
void |
setBirthGeneration(int birthGeneration)
Set the birth genertion (or iteration).
|
void |
setPopulation(Population population)
Set the population that this genome belongs to.
|
void |
setScore(double score)
Set the score.
|
void |
setSpecies(Species s)
Set the species for this genome.
|
int |
size() |
void copy(Genome source)
source
- The source genome.double getAdjustedScore()
int getBirthGeneration()
Population getPopulation()
double getScore()
void setAdjustedScore(double adjustedScore)
adjustedScore
- The adjusted score.void setBirthGeneration(int birthGeneration)
birthGeneration
- The birth generation.void setPopulation(Population population)
population
- The population that this genome belongs to.void setScore(double score)
score
- The new score.int size()
Species getSpecies()
void setSpecies(Species s)
s
- The species.Copyright © 2014. All Rights Reserved.