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

    r13771 r14067  
    4040    }
    4141
    42     public override int MaximumSolutionLength {
    43       get { return int.MaxValue; }
    44     }
    45 
    46     public override int MinimumSolutionLength {
    47       get { return 1; }
    48     }
    49 
    50     public override int MinimumObjectives {
    51       get { return 2; }
    52     }
    53 
    54     public override int MaximumObjectives {
    55       get { return 2; }
    56     }
    57 
    58 
    5942    public override IEnumerable<double[]> OptimalParetoFront(int objectives) {
    6043      return PFStore.get(this.ItemName);
     
    7457      return new Fonseca(this, cloner);
    7558    }
    76     public Fonseca() : base(minimumObjectives: 2, maximumObjectives: 2, minimumSolutionLength: 1) { }
     59    public Fonseca() : base(minimumObjectives: 2, maximumObjectives: 2, minimumSolutionLength: 1, maximumSolutionLength: int.MaxValue) { }
    7760
    7861
Note: See TracChangeset for help on using the changeset viewer.