Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/04/16 09:47:19 (8 years ago)
Author:
bwerth
Message:

#1087 moved project bugfixes

File:
1 edited

Legend:

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

    r13936 r13988  
    3030  public abstract class IHR : MultiObjectiveTestFunction {
    3131
    32 
    3332    public override IEnumerable<double[]> OptimalParetoFront(int objectives) {
    3433      if (objectives == 2) return PFStore.get(this.ItemName + ".2D");
     
    4443    }
    4544
    46     public override int MinimumSolutionLength
    47     {
     45    public override int MinimumSolutionLength {
    4846      get { return 2; }
    4947    }
    50     public override int MaximumSolutionLength
    51     {
     48    public override int MaximumSolutionLength {
    5249      get { return int.MaxValue; }
    5350    }
    5451
    55 
    56     public override int MinimumObjectives
    57     {
     52    public override int MinimumObjectives {
    5853      get { return 2; }
    5954    }
    60     public override int MaximumObjectives
    61     {
     55    public override int MaximumObjectives {
    6256      get { return 2; }
    6357    }
     
    9387    protected double HF(double x, RealVector r) {
    9488      double ymax = 1;
    95       return Math.Abs(r[0]) <= ymax ? x : 1 + Math.Abs(r[0]);    //replace  with maximum of first column of matrix used in Y(x)
     89      return Math.Abs(r[0]) <= ymax ? x : 1 + Math.Abs(r[0]);
    9690    }
    9791    protected double HG(double x) {
     
    9993    }
    10094    protected RealVector Y(RealVector x) {
    101       return x; //replace with matrix*x
     95      return x;
    10296    }
    10397  }
Note: See TracChangeset for help on using the changeset viewer.