public class NetPhenotype
extends java.lang.Object
Constructor and Description |
---|
NetPhenotype() |
NetPhenotype(Evolver evolver)
Create a new NetPhenotype for the evolution of Boone neural networks.
|
Modifier and Type | Method and Description |
---|---|
void |
calcFitness()
Calculates the fitness of this phenotype instance.
|
java.lang.Object |
clone()
Returns a shallow clone.
|
void |
doOntogeny(java.util.List<Chromosome> chromosomes)
Maps the genotype to a phenotype network.
|
double |
getFitness()
Returns the fitness of this phenotype instance.
|
NeuralNet |
getNet()
Returns the network represented by this phenotype.
|
java.lang.String |
toString()
Returns a string representation of the network.
|
void |
toXml(Element element) |
public NetPhenotype()
public NetPhenotype(Evolver evolver)
evolver
- the masterpublic java.lang.Object clone()
clone
in class java.lang.Object
public void doOntogeny(java.util.List<Chromosome> chromosomes)
chromosomes
- the complete genotypepublic void calcFitness()
public double getFitness()
public java.lang.String toString()
toString
in class java.lang.Object
public void toXml(Element element)
public NeuralNet getNet()
doOntogeny(java.util.List<Chromosome>)