Package org.encog.ml.genetic.genome

Examples of org.encog.ml.genetic.genome.Genome.decode()


      int count = dialog.getGenomesToExtract().getValue();
     
      for(int i=0;i<count;i++)
      {
        Genome genome = this.population.getGenomes().get(i);
        genome.decode();
        NEATNetwork network = (NEATNetwork)genome.getOrganism();
        String name = FileUtil.forceExtension( prefix + i, "eg" );
        File path = new File(EncogWorkBench.getInstance().getProjectDirectory(),name);
        EncogWorkBench.getInstance().save(path, network);
       
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.