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.GeneticProgramming/3.3/ArtificialAnt/Problem.cs

    r17226 r17270  
    9898    #endregion
    9999
    100     public override bool Maximization {
    101       get { return true; }
    102     }
    103 
    104100    #region item cloning and persistence
    105101    // persistence
     
    117113
    118114    public Problem() : base(new SymbolicExpressionTreeEncoding()) {
     115      Maximization = true;
    119116      BoolMatrix world = new BoolMatrix(ToBoolMatrix(santaFeAntTrail));
    120117      Parameters.Add(new ValueParameter<BoolMatrix>("World", "The world for the artificial ant with scattered food items.", world));
Note: See TracChangeset for help on using the changeset viewer.