org.encog.neural.neat
Class FactorNEATGenome
- java.lang.Object
-
- org.encog.neural.neat.FactorNEATGenome
-
- All Implemented Interfaces:
- java.io.Serializable, GenomeFactory, NEATGenomeFactory
public class FactorNEATGenome extends java.lang.Object implements NEATGenomeFactory, java.io.Serializable
This factory is used to create NEATGenomes. ----------------------------------------------------------------------------- http://www.cs.ucf.edu/~kstanley/ Encog's NEAT implementation was drawn from the following three Journal Articles. For more complete BibTeX sources, see NEATNetwork.java. Evolving Neural Networks Through Augmenting Topologies Generating Large-Scale Neural Networks Through Discovering Geometric Regularities Automatic feature selection in neuroevolution- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description FactorNEATGenome()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description NEATGenomefactor()Genomefactor(Genome other)Create a clone of the other genome.NEATGenomefactor(java.util.List<NEATNeuronGene> neurons, java.util.List<NEATLinkGene> links, int inputCount, int outputCount)Create a NEAT genome from a list of links and neurons.NEATGenomefactor(java.util.Random rnd, NEATPopulation pop, int inputCount, int outputCount, double connectionDensity)Create a new random NEAT genome.
-
-
-
Method Detail
-
factor
public NEATGenome factor()
- Specified by:
factorin interfaceGenomeFactory- Returns:
- The newly created genome.
-
factor
public Genome factor(Genome other)
Create a clone of the other genome.- Specified by:
factorin interfaceGenomeFactory- Parameters:
other- The other genome.- Returns:
- The newly created clone.
-
factor
public NEATGenome factor(java.util.List<NEATNeuronGene> neurons, java.util.List<NEATLinkGene> links, int inputCount, int outputCount)
Create a NEAT genome from a list of links and neurons.- Specified by:
factorin interfaceNEATGenomeFactory- Parameters:
neurons- A list of neuron genes.links- A list of link genes.inputCount- The input count.outputCount- The output count.- Returns:
- The newly factored NEATGenome.
-
factor
public NEATGenome factor(java.util.Random rnd, NEATPopulation pop, int inputCount, int outputCount, double connectionDensity)
Create a new random NEAT genome.- Specified by:
factorin interfaceNEATGenomeFactory- Parameters:
rnd- A random number generator.pop- The NEAT population.inputCount- The input count.outputCount- The output count.connectionDensity- The connection density. Specify 1.0 for fully connected.- Returns:
- The newly created NEAT genome.
-
-
DMelt 3.0 © DataMelt by jWork.ORG