Package org.encog.neural.neat

Examples of org.encog.neural.neat.NEATGenomeFactory.factor()


    Collections.sort(selectedNeurons);

    // finally, create the genome
    final NEATGenomeFactory factory = (NEATGenomeFactory) this.owner
        .getPopulation().getGenomeFactory();
    final NEATGenome babyGenome = factory.factor(selectedNeurons,
        selectedLinks, mom.getInputCount(), mom.getOutputCount());
    babyGenome.setBirthGeneration(this.owner.getIteration());
    babyGenome.setPopulation(this.owner.getPopulation());
    babyGenome.sortGenes();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.