Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/18/20 18:55:08 (5 years ago)
Author:
abeham
Message:

#2521: worked on refactoring, worked a lot on binary encoding / problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Algorithms.ParameterlessPopulationPyramid-3.3/ParameterlessPopulationPyramidTest.cs

    r17226 r17544  
    6060    public void P3DeceptiveTrap() {
    6161      var problem = new DeceptiveTrapProblem();
    62       problem.Length = 49;
     62      problem.NumberOfTraps = 7;
    6363      problem.TrapSize = 7;
    6464      DoRun(problem, 100, 123, 0.857142857142857, 50);
    6565      DoRun(problem, 9876, 123, 0.918367346938776, 981);
    6666      DoRun(problem, 20000, 987, 1, 19977);
    67       problem.Length = 700;
     67      problem.NumberOfTraps = 100;
    6868      DoRun(problem, 100000, 987, 0.941428571428571, 96901);
    6969    }
     
    7575    public void P3DeceptiveStepTrap() {
    7676      var problem = new DeceptiveStepTrapProblem();
    77       problem.Length = 49;
     77      problem.NumberOfTraps = 7;
    7878      problem.TrapSize = 7;
    7979      problem.StepSize = 2;
     
    8181      DoRun(problem, 9876, 123, 0.785714285714286, 3489);
    8282      DoRun(problem, 70000, 987, 1, 68292);
    83       problem.Length = 700;
     83      problem.NumberOfTraps = 100;
    8484      DoRun(problem, 100000, 987, 0.76, 58711);
    8585    }
     
    9191    public void P3HIFF() {
    9292      var problem = new HIFFProblem();
    93       problem.Length = 32;
     93      problem.Dimension = 32;
    9494      DoRun(problem, 50, 12345, 0.375, 26);
    9595      DoRun(problem, 1000, 12345, 1, 976);
    96       problem.Length = 512;
     96      problem.Dimension = 512;
    9797      DoRun(problem, 1000, 54321, 0.17361111111111, 440);
    9898      DoRun(problem, 130000, 54321, 1, 89214);
Note: See TracChangeset for help on using the changeset viewer.