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/DTLZ/DTLZ.cs

    r13988 r14067  
    4141    }
    4242
    43     public override int MinimumSolutionLength {
    44       get { return 2; }
    45     }
    46     public override int MaximumSolutionLength {
    47       get { return int.MaxValue; }
    48     }
    49 
    50 
    51     public override int MinimumObjectives {
    52       get { return 2; }
    53     }
    54     public override int MaximumObjectives {
    55       get { return int.MaxValue; }
    56     }
    57 
    5843    public override double[] ReferencePoint(int objectives) {
    5944      double[] rp = new double[objectives];
     
    6752    protected DTLZ(bool deserializing) : base(deserializing) { }
    6853    protected DTLZ(DTLZ original, Cloner cloner) : base(original, cloner) { }
    69     public DTLZ() : base(minimumObjectives: 2, minimumSolutionLength: 2, maximumSolutionLength: int.MaxValue) { }
     54    public DTLZ() : base(minimumObjectives: 2, maximumObjectives: int.MaxValue, minimumSolutionLength: 2, maximumSolutionLength: int.MaxValue) { }
    7055
    7156    public abstract override double[] Evaluate(RealVector r, int objecitves);
Note: See TracChangeset for help on using the changeset viewer.