Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13188


Ignore:
Timestamp:
11/16/15 21:24:18 (9 years ago)
Author:
abeham
Message:

#2432: merged r12770 to stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Algorithms.RAPGA/3.3/RAPGA.cs

    r12708 r13188  
    205205        Parameters.Add(new FixedValueParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)", (BoolValue)new BoolValue(false).AsReadOnly()) { Hidden = true });
    206206      }
    207       if (Parameters.ContainsKey("SimilarityCalculator")) {
     207      if (Parameters.ContainsKey("SimilarityCalculator") && Parameters["SimilarityCalculator"] is IConstrainedValueParameter<ISingleObjectiveSolutionSimilarityCalculator>) {
    208208#pragma warning disable 0618
    209209        var oldParameter = (IConstrainedValueParameter<ISingleObjectiveSolutionSimilarityCalculator>)Parameters["SimilarityCalculator"];
Note: See TracChangeset for help on using the changeset viewer.