Examples of PoissonGenerator


Examples of org.uncommons.maths.random.PoissonGenerator

    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)));
    }
   
    EvolutionaryOperator<List<String>> pipeline = new EvolutionPipeline<List<String>>(operators);
   
    CandidateFactory<List<String>> candidateFactory = new ListPermutationFactory<String>(
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator


   
    protected PoissonGenerator createValueGenerator(Random rng)
    {
        return new PoissonGenerator(mean, rng);
    }
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator

    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)));
    }
   
    EvolutionaryOperator<List<String>> pipeline = new EvolutionPipeline<List<String>>(operators);
   
    CandidateFactory<List<String>> candidateFactory = new ListPermutationFactory<String>(
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator

    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)));
    }
   
    EvolutionaryOperator<List<String>> pipeline = new EvolutionPipeline<List<String>>(operators);
   
    CandidateFactory<List<String>> candidateFactory = new ListPermutationFactory<String>(
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator

        2);
    if (crossover) {
      operators.add(new ListOrderCrossover());
    }
    if (mutation) {
      operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng),
          new PoissonGenerator(1.5, rng)));
    }

    EvolutionaryOperator<List<?>> pipeline = new EvolutionPipeline<List<?>>(
        operators);
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator

    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)));
    }

    EvolutionaryOperator<List<String>> pipeline = new EvolutionPipeline<List<String>>(operators);

    CandidateFactory<List<String>> candidateFactory = new ListPermutationFactory<String>(
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator

                List<EvolutionaryOperator<Sudoku>> operators = new ArrayList<EvolutionaryOperator<Sudoku>>(2);
                // Cross-over rows between parents (so offspring is x rows from parent1 and
                // y rows from parent2).
                operators.add(new SudokuVerticalCrossover());
                // Mutate the order of cells within individual rows.
                operators.add(new SudokuRowMutation(new PoissonGenerator(2, rng),
                                                    new DiscreteUniformGenerator(1, 8, rng)));

                EvolutionaryOperator<Sudoku> pipeline = new EvolutionPipeline<Sudoku>(operators);

                EvolutionEngine<Sudoku> engine = new GenerationalEvolutionEngine<Sudoku>(new SudokuFactory(puzzle),
View Full Code Here

Examples of org.uncommons.maths.random.PoissonGenerator

        {
            operators.add(new ListOrderCrossover<String>());
        }
        if (mutation)
        {
            operators.add(new ListOrderMutation<String>(new PoissonGenerator(1.5, rng),
                                                        new PoissonGenerator(1.5, rng)));
        }

        EvolutionaryOperator<List<String>> pipeline = new EvolutionPipeline<List<String>>(operators);

        CandidateFactory<List<String>> candidateFactory
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.