Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/14/16 13:34:21 (8 years ago)
Author:
mkommend
Message:

#1087: Refactored multi-objective test functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR.cs

    r13989 r14067  
    4242    }
    4343
    44     public override int MinimumSolutionLength {
    45       get { return 2; }
    46     }
    47     public override int MaximumSolutionLength {
    48       get { return int.MaxValue; }
    49     }
    50 
    51     public override int MinimumObjectives {
    52       get { return 2; }
    53     }
    54     public override int MaximumObjectives {
    55       get { return 2; }
    56     }
    57 
    5844    public override double[] ReferencePoint(int objectives) {
    5945      double[] rp = new double[objectives];
     
    6753    protected IHR(bool deserializing) : base(deserializing) { }
    6854    protected IHR(IHR original, Cloner cloner) : base(original, cloner) { }
    69     public IHR() : base(minimumObjectives: 2, minimumSolutionLength: 2, maximumSolutionLength: int.MaxValue) { }
     55    public IHR() : base(minimumObjectives: 2, maximumObjectives: 2, minimumSolutionLength: 2, maximumSolutionLength: int.MaxValue) { }
    7056
    7157    public override double[] Evaluate(RealVector r, int objectives) {
Note: See TracChangeset for help on using the changeset viewer.