Package org.encog.neural.neat

Examples of org.encog.neural.neat.NEATGenomeFactory


    // now create the required nodes. First sort them into order
    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

Related Classes of org.encog.neural.neat.NEATGenomeFactory

Copyright © 2018 www.massapicom. 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.