Package jcgp.backend.population

Examples of jcgp.backend.population.Output


      }
    }
    // finally, mutate outputs
    for (int o = 0; o < getResources().outputs(); o++) {
      if (mutateGene()) {
        Output out = chromosome.getOutput(o);
       
        if (report.get()) getResources().report("[Mutator] Mutating " + out +
            ", changed source from " + out.getSource());
       
        out.setSource(chromosome.getRandomConnection());
       
        if (report.get()) getResources().reportln("to " + out.getSource());
      }
    }
   
    if (report.get()) getResources().reportln("[Mutator] Mutation finished");
View Full Code Here


    chromosome = new Chromosome(resources);
  }

  @Before
  public void setUp() throws Exception {
    output = new Output(chromosome, outputIndex);
  }
View Full Code Here

TOP

Related Classes of jcgp.backend.population.Output

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.