Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/26/19 10:02:47 (5 years ago)
Author:
abeham
Message:

#2521: worked on removing virtual from Maximization for single-objective problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/ProbabilisticTSP.cs

    r17264 r17270  
    5858    #endregion
    5959
    60     public override bool Maximization {
    61       get { return false; }
    62     }
    63 
    6460    [StorableConstructor]
    6561    protected ProbabilisticTSP(StorableConstructorFlag _) : base(_) { }
     
    7066    }
    7167    protected ProbabilisticTSP() : base(new PermutationEncoding("Tour")) {
     68      Maximization = false;
    7269      Parameters.Add(PTSPDataParameter = new ValueParameter<IProbabilisticTSPData>("PTSP Data", "The main parameters for the pTSP."));
    7370      Parameters.Add(BestKnownSolutionParameter = new OptionalValueParameter<IProbabilisticTSPSolution>("BestKnownSolution", "The best known solution of this pTSP instance."));
Note: See TracChangeset for help on using the changeset viewer.