Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/12/15 15:39:28 (9 years ago)
Author:
abeham
Message:

#2282:

  • Renamed BinaryVectorProblem to BinaryProblem
  • Removed IBinaryVectorProblem interface
  • Derived BinaryProblem from SingleObjectiveBasicProblem
  • Changed bool[] datatype to BinaryVector
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  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Data;
     27using HeuristicLab.Encodings.BinaryVectorEncoding;
    2728using HeuristicLab.Parameters;
    2829using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2930
    30 namespace HeuristicLab.Problems.BinaryVector {
     31namespace HeuristicLab.Problems.Binary {
    3132  [Item("Deceptive Step Trap Problem", "Genome encodes completely separable blocks, where each block deceptive with fitness plateaus.")]
    3233  [StorableClass]
     
    8384    }
    8485
    85     protected override int Score(bool[] individual, int trapIndex, int trapSize) {
     86    protected override int Score(BinaryVector individual, int trapIndex, int trapSize) {
    8687      int partial = base.Score(individual, trapIndex, trapSize);
    8788      // introduce plateaus using integer division
Note: See TracChangeset for help on using the changeset viewer.