public interface NEATGenomeFactory extends GenomeFactory
| Modifier and Type | Method and Description |
|---|---|
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.
|
NEATGenome |
factor(java.util.Random rnd,
NEATPopulation pop,
int inputCount,
int outputCount,
double connectionDensity)
Create a new random NEAT genome.
|
factor, factorNEATGenome factor(java.util.List<NEATNeuronGene> neurons, java.util.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(java.util.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.