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

Location:
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/EvenParityProblem.cs

    r17226 r17270  
    5454    #endregion
    5555
    56     public override bool Maximization {
    57       get { return true; }
    58     }
    59 
    6056    #region item cloning and persistence
    6157    // persistence
     
    7975    public EvenParityProblem()
    8076      : base(new SymbolicExpressionTreeEncoding()) {
     77      Maximization = true;
    8178      Parameters.Add(new FixedValueParameter<IntValue>(NumberOfBitsParameterName, "The number of bits for the input parameter for the even parity function", new IntValue(4)));
    8279
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs

    r17226 r17270  
    5656    #endregion
    5757
    58     public override bool Maximization {
    59       get { return true; }
    60     }
    61 
    6258    #region item cloning and persistence
    6359    // persistence
     
    8278    public MultiplexerProblem()
    8379      : base(new SymbolicExpressionTreeEncoding()) {
     80      Maximization = true;
    8481      Parameters.Add(new FixedValueParameter<IntValue>(NumberOfBitsParameterName,
    8582        "The number of bits for the input parameter for the multiplexer function. This is the sum of the number of address bits and the number of input lines. E.g. the 11-MUX has 3 address bits and 8 input lines",
Note: See TracChangeset for help on using the changeset viewer.