Package org.uncommons.watchmaker.framework.operators

Examples of org.uncommons.watchmaker.framework.operators.ListOrderCrossover


    Random rng = RandomUtils.getRandom();
   
    // Set-up evolution pipeline (cross-over followed by mutation).
    List<EvolutionaryOperator<List<String>>> operators = new ArrayList<EvolutionaryOperator<List<String>>>(2);
    if (crossover) {
      operators.add(new ListOrderCrossover());
    }
    if (mutation) {
      operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng), new PoissonGenerator(1.5, rng)));
    }
   
View Full Code Here


    Random rng = RandomUtils.getRandom();
   
    // Set-up evolution pipeline (cross-over followed by mutation).
    List<EvolutionaryOperator<List<String>>> operators = new ArrayList<EvolutionaryOperator<List<String>>>(2);
    if (crossover) {
      operators.add(new ListOrderCrossover());
    }
    if (mutation) {
      operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng), new PoissonGenerator(1.5, rng)));
    }
   
View Full Code Here

    Random rng = RandomUtils.getRandom();
   
    // Set-up evolution pipeline (cross-over followed by mutation).
    List<EvolutionaryOperator<List<String>>> operators = Lists.newArrayListWithCapacity(2);
    if (crossover) {
      operators.add(new ListOrderCrossover());
    }
    if (mutation) {
      operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng), new PoissonGenerator(1.5, rng)));
    }
   
View Full Code Here

    // Set-up evolution pipeline (cross-over followed by mutation).
    List<EvolutionaryOperator<? super List<?>>> operators = new ArrayList<EvolutionaryOperator<? super List<?>>>(
        2);
    if (crossover) {
      operators.add(new ListOrderCrossover());
    }
    if (mutation) {
      operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng),
          new PoissonGenerator(1.5, rng)));
    }
View Full Code Here

    Random rng = RandomUtils.getRandom();

    // Set-up evolution pipeline (cross-over followed by mutation).
    List<EvolutionaryOperator<List<String>>> operators = new ArrayList<EvolutionaryOperator<List<String>>>(2);
    if (crossover) {
      operators.add(new ListOrderCrossover());
    }
    if (mutation) {
      operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng),
          new PoissonGenerator(1.5, rng)));
    }
View Full Code Here

TOP

Related Classes of org.uncommons.watchmaker.framework.operators.ListOrderCrossover

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.