org.encog.neural.hyperneat
public class HyperNEATCODEC extends Object implements GeneticCODEC
Constructor and Description |
---|
HyperNEATCODEC() |
Modifier and Type | Method and Description |
---|---|
MLMethod |
decode(Genome genome)
Decode the specified genome into a phenome.
|
MLMethod |
decode(NEATPopulation pop,
Substrate substrate,
Genome genome) |
Genome |
encode(MLMethod phenotype)
Attempt to build a genome from a phenome.
|
double |
getMaxWeight() |
double |
getMinWeight() |
void |
setMaxWeight(double maxWeight) |
void |
setMinWeight(double minWeight) |
public MLMethod decode(Genome genome)
decode
in interface GeneticCODEC
genome
- The genome to decode.public MLMethod decode(NEATPopulation pop, Substrate substrate, Genome genome)
public Genome encode(MLMethod phenotype)
GeneticCODEC
encode
in interface GeneticCODEC
phenotype
- The phenotype.public double getMaxWeight()
public double getMinWeight()
public void setMaxWeight(double maxWeight)
maxWeight
- the maxWeight to setpublic void setMinWeight(double minWeight)
minWeight
- the minWeight to setCopyright © 2014. All Rights Reserved.