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.Binary/3.3/OneMaxProblem.cs

    r17226 r17270  
    3232  [StorableType("A290ADDE-33F5-4607-ABC0-19349CD0FBF1")]
    3333  public class OneMaxProblem : BinaryVectorProblem {
    34     public override bool Maximization {
    35       get { return true; }
    36     }
    3734
    3835    public OneMaxProblem() : base() {
     36      Maximization = true;
    3937      Encoding.Length = 10;
    4038      BestKnownQuality = Encoding.Length;
Note: See TracChangeset for help on using the changeset viewer.