- Timestamp:
- 02/12/15 15:39:28 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Binary
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Binary/3.3/DeceptiveStepTrapProblem.cs
r11960 r11987 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Encodings.BinaryVectorEncoding; 27 28 using HeuristicLab.Parameters; 28 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 30 30 namespace HeuristicLab.Problems.Binary Vector{31 namespace HeuristicLab.Problems.Binary { 31 32 [Item("Deceptive Step Trap Problem", "Genome encodes completely separable blocks, where each block deceptive with fitness plateaus.")] 32 33 [StorableClass] … … 83 84 } 84 85 85 protected override int Score( bool[]individual, int trapIndex, int trapSize) {86 protected override int Score(BinaryVector individual, int trapIndex, int trapSize) { 86 87 int partial = base.Score(individual, trapIndex, trapSize); 87 88 // introduce plateaus using integer division
Note: See TracChangeset
for help on using the changeset viewer.