Changeset 11838
- Timestamp:
- 01/28/15 22:38:13 (10 years ago)
- Location:
- branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HillClimber.cs
r11791 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 34 35 35 36 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 37 // This code is based off the publication 38 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 39 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 36 40 [Item("Hill Climber", "Test algorithm.")] 37 41 [StorableClass] 38 42 [Creatable("Parameterless Population Pyramid")] 39 // In the GECCO paper, Section 2.140 43 public class HillClimber : BasicAlgorithm { 41 44 [Storable] … … 92 95 } 93 96 } 94 97 // In the GECCO paper, Section 2.1 95 98 public static double ImproveToLocalOptimum(IBinaryVectorProblem problem, bool[] solution, double fitness, IRandom rand) { 96 99 var tried = new HashSet<int>(); -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/LinkageCrossover.cs
r11672 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 28 29 29 30 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 31 // This code is based off the publication 32 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 33 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 30 34 public static class LinkageCrossover { 31 35 // In the GECCO paper, Figure 3 -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/LinkageTree.cs
r11674 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 27 28 28 29 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 29 30 // This code is based off the publication 31 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 32 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 30 33 public class LinkageTree { 31 32 34 private readonly int[][][] occurances; 33 35 private readonly List<int>[] clusters; -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/ParameterlessPopulationPyramid.cs
r11791 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 4 * and the BEACON Center for the Study of Evolution in Action. 5 * 5 6 * This file is part of HeuristicLab. 6 7 * … … 34 35 35 36 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 37 // This code is based off the publication 38 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 39 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 36 40 [Item("Parameter-less Population Pyramid", "Binary value optimization algorithm which requires no configuration.")] 37 41 [StorableClass] -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Population.cs
r11669 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 24 25 25 26 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 27 // This code is based off the publication 28 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 29 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 26 30 public class Population { 27 31 public List<bool[]> Solutions { -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/DeceptiveStepTrapProblem.cs
r11674 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 27 28 28 29 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 30 // This code is based off the publication 31 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 32 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 29 33 [Item("Deceptive Step Trap Problem", "Genome encodes completely separable blocks, where each block deceptive with fitness plateaus.")] 30 34 [StorableClass] -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/DeceptiveTrapProblem.cs
r11674 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 4 * and the BEACON Center for the Study of Evolution in Action. 5 * 5 6 * This file is part of HeuristicLab. 6 7 * … … 28 29 29 30 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 31 // This code is based off the publication 32 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 33 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 30 34 [Item("Deceptive Trap Problem", "Genome encodes completely separable blocks, where each block is fully deceptive.")] 31 35 [StorableClass] 32 36 [Creatable("Parameterless Population Pyramid")] 33 // In the GECCO paper, Section 4.134 37 public class DeceptiveTrapProblem : BinaryVectorProblem { 35 38 [StorableConstructor] -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/EvaluationTracker.cs
r11669 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 24 25 25 26 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 27 // This code is based off the publication 28 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 29 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 26 30 public class EvaluationTracker : IBinaryVectorProblem { 27 31 private readonly IBinaryVectorProblem problem; -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/HIFFProblem.cs
r11672 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 27 28 28 29 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 30 // This code is based off the publication 31 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 32 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 29 33 [Item("Hierararchical If and only If problem", "Genome evaluated in nested subsets to see if each subset contains either all 0s or all 1s.")] 30 34 [StorableClass] 31 35 [Creatable("Parameterless Population Pyramid")] 32 // In the GECCO paper, Section 4.133 36 public class HIFFProblem : BinaryVectorProblem { 34 37 [StorableConstructor] … … 48 51 Length = 64; 49 52 } 50 53 // In the GECCO paper, Section 4.1 51 54 public override double Evaluate(bool[] individual) { 52 55 int[] level = new int[individual.Length]; -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/OneMaxProblem.cs
r11640 r11838 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * and the BEACON Center for the Study of Evolution in Action. 4 5 * 5 6 * This file is part of HeuristicLab. … … 26 27 27 28 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid.Problems { 29 // This code is based off the publication 30 // B. W. Goldman and W. F. Punch, "Parameter-less Population Pyramid," GECCO, pp. 785–792, 2014 31 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 28 32 [Item("Test One Max Problem", "Only a test class. Should be removed in the future.")] 29 33 [StorableClass]
Note: See TracChangeset
for help on using the changeset viewer.