Changeset 11838 for branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/HIFFProblem.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/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];
Note: See TracChangeset
for help on using the changeset viewer.