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.GrammaticalEvolution/3.4/ArtificialAnt/GEArtificialAntProblem.cs

    r17226 r17270  
    6868    private void AfterDeserialization() { }
    6969
    70     public override bool Maximization {
    71       get { return true; }
    72     }
    73 
    7470    [Storable]
    7571    // parameters of the wrapped problem cannot be changed therefore it is not strictly necessary to clone and store it
     
    8682
    8783    public GEArtificialAntProblem() : base(new IntegerVectorEncoding()) {
     84      Maximization = true;
    8885      wrappedAntProblem = new HeuristicLab.Problems.GeneticProgramming.ArtificialAnt.Problem();
    8986      Parameters.Add(new ValueParameter<BoolMatrix>("World", "The world for the artificial ant with scattered food items.", wrappedAntProblem.World));
Note: See TracChangeset for help on using the changeset viewer.