Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/15 15:06:02 (9 years ago)
Author:
mkommend
Message:

#2320: Fixed AfterDeserialization of GEArtifialAntEvaluator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.GrammaticalEvolution/3.3/ArtificialAnt/GEArtificialAntEvaluator.cs

    r12422 r12481  
    102102      if (Parameters.ContainsKey("SymbolicExpressionTree") &&
    103103          Parameters["SymbolicExpressionTree"] is ILookupParameter<SymbolicExpressionTree>) {
     104        var previousActualName = ((ILookupParameter<SymbolicExpressionTree>)Parameters["SymbolicExpressionTree"]).ActualName;
    104105        Parameters.Remove("SymbolicExpressionTree");
    105         Parameters.Add(new LookupParameter<ISymbolicExpressionTree>("SymbolicExpressionTree", "The artificial ant solution encoded as a symbolic expression tree that should be evaluated"));
     106        Parameters.Add(new LookupParameter<ISymbolicExpressionTree>("SymbolicExpressionTree", "The artificial ant solution encoded as a symbolic expression tree that should be evaluated", previousActualName));
    106107      }
    107108
Note: See TracChangeset for help on using the changeset viewer.