org.encog.neural.neat.training.species
public class OriginalNEATSpeciation extends ThresholdSpeciation
Constructor and Description |
---|
OriginalNEATSpeciation() |
Modifier and Type | Method and Description |
---|---|
double |
getCompatibilityScore(Genome gen1,
Genome gen2)
Determine how compatible two genomes are.
|
double |
getConstDisjoint() |
double |
getConstExcess() |
double |
getConstMatched() |
void |
setConstDisjoint(double constDisjoint) |
void |
setConstExcess(double constExcess) |
void |
setConstMatched(double constMatched) |
addSpeciesMember, findBestSpecies, getCompatibilityThreshold, getMaxNumberOfSpecies, getNumGensAllowedNoImprovement, getOwner, getSortGenomes, init, performSpeciation, removeSpecies, setCompatibilityThreshold, setMaxNumberOfSpecies, setNumGensAllowedNoImprovement, setSortGenomes
public double getCompatibilityScore(Genome gen1, Genome gen2)
getCompatibilityScore
in class ThresholdSpeciation
gen1
- The first genome.gen2
- The second genome.public double getConstDisjoint()
public double getConstExcess()
public double getConstMatched()
public void setConstDisjoint(double constDisjoint)
constDisjoint
- the constDisjoint to setpublic void setConstExcess(double constExcess)
constExcess
- the constExcess to setpublic void setConstMatched(double constMatched)
constMatched
- the constMatched to setCopyright © 2014. All Rights Reserved.