Changeset 11672 for branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems
- Timestamp:
- 12/09/14 14:25:57 (10 years ago)
- Location:
- branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/DeceptiveStepTrapProblem.cs
r11669 r11672 31 31 [StorableClass] 32 32 [Creatable("Parameterless Population Pyramid")] 33 // In the GECCO paper, Section 4.1 33 34 public class DeceptiveStepTrapProblem : DeceptiveTrapProblem { 34 35 [StorableConstructor] -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/DeceptiveTrapProblem.cs
r11669 r11672 32 32 [StorableClass] 33 33 [Creatable("Parameterless Population Pyramid")] 34 // In the GECCO paper, Section 4.1 34 35 public class DeceptiveTrapProblem : BinaryVectorProblem { 35 36 [StorableConstructor] … … 67 68 } 68 69 70 // In the GECCO paper, calculates Equation 3 69 71 protected virtual int Score(bool[] individual, int trapIndex) { 70 72 int result = 0; 73 // count number of bits in trap set to 1 71 74 for (int index = trapIndex; index < trapIndex + TrapSize; index++) { 72 75 if (individual[index]) result++; -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Problems/HIFFProblem.cs
r11669 r11672 26 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 27 28 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid .Problems{28 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { 29 29 [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 30 [StorableClass] 31 31 [Creatable("Parameterless Population Pyramid")] 32 // In the GECCO paper, Section 4.1 32 33 public class HIFFProblem : BinaryVectorProblem { 33 34 [StorableConstructor]
Note: See TracChangeset
for help on using the changeset viewer.