org.encog.neural.neat
Class FactorNEATGenome

java.lang.Object
  extended by org.encog.neural.neat.FactorNEATGenome
All Implemented Interfaces:
Serializable, GenomeFactory, NEATGenomeFactory

public class FactorNEATGenome
extends Object
implements NEATGenomeFactory, 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
FactorNEATGenome()
           
 
Method Summary
 NEATGenome factor()
          
 Genome factor(Genome other)
          Create a clone of the other genome.
 NEATGenome factor(List<NEATNeuronGene> neurons, List<NEATLinkGene> links, int inputCount, int outputCount)
          Create a NEAT genome from a list of links and neurons.
 NEATGenome factor(Random rnd, NEATPopulation pop, int inputCount, int outputCount, double connectionDensity)
          Create a new random NEAT genome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactorNEATGenome

public FactorNEATGenome()
Method Detail

factor

public NEATGenome factor()

Specified by:
factor in interface GenomeFactory
Returns:
The newly created genome.

factor

public Genome factor(Genome other)
Create a clone of the other genome.

Specified by:
factor in interface GenomeFactory
Parameters:
other - The other genome.
Returns:
The newly created clone.

factor

public NEATGenome factor(List<NEATNeuronGene> neurons,
                         List<NEATLinkGene> links,
                         int inputCount,
                         int outputCount)
Create a NEAT genome from a list of links and neurons.

Specified by:
factor in interface NEATGenomeFactory
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(Random rnd,
                         NEATPopulation pop,
                         int inputCount,
                         int outputCount,
                         double connectionDensity)
Create a new random NEAT genome.

Specified by:
factor in interface NEATGenomeFactory
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.


Copyright © 2014. All Rights Reserved.