Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/13/19 09:40:12 (5 years ago)
Author:
gkronber
Message:

#2994: merged r17132:17198 from trunk to branch

Location:
branches/2994-AutoDiffForIntervals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2994-AutoDiffForIntervals

  • branches/2994-AutoDiffForIntervals/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2.cs

    r16565 r17209  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2222using System;
    2323using System.Linq;
     24using HEAL.Attic;
    2425using HeuristicLab.Analysis;
    2526using HeuristicLab.Common;
     
    3031using HeuristicLab.Optimization.Operators;
    3132using HeuristicLab.Parameters;
    32 using HEAL.Attic;
    3333using HeuristicLab.PluginInfrastructure;
    3434using HeuristicLab.Random;
     
    326326      if (!Parameters.ContainsKey("DominateOnEqualQualities"))
    327327        Parameters.Add(new FixedValueParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated.", new BoolValue(false)));
     328
    328329      var optionalMutatorParameter = MutatorParameter as OptionalConstrainedValueParameter<IManipulator>;
    329       if (optionalMutatorParameter != null) {
     330      var mutatorParameter = MutatorParameter as ConstrainedValueParameter<IManipulator>;
     331      if (mutatorParameter == null && optionalMutatorParameter != null) {
    330332        Parameters.Remove(optionalMutatorParameter);
    331333        Parameters.Add(new ConstrainedValueParameter<IManipulator>("Mutator", "The operator used to mutate solutions."));
Note: See TracChangeset for help on using the changeset viewer.