org.encog.neural.neat
public interface NEATGenomeFactory extends GenomeFactory
Modifier and Type | Method and Description |
---|---|
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.
|
factor, factor
NEATGenome factor(List<NEATNeuronGene> neurons, List<NEATLinkGene> links, int inputCount, int outputCount)
neurons
- A list of neuron genes.links
- A list of link genes.inputCount
- The input count.outputCount
- The output count.NEATGenome factor(Random rnd, NEATPopulation pop, int inputCount, int outputCount, double connectionDensity)
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.Copyright © 2014. All Rights Reserved.