Changeset 11838 for branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HillClimber.cs
- Timestamp:
- 01/28/15 22:38:13 (9 years ago)
- File:
-
- 1 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>();
Note: See TracChangeset
for help on using the changeset viewer.