Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/17/11 21:40:31 (13 years ago)
Author:
gkronber
Message:

#1418 fixed grammar cloning bug, improved analyzers for multi objective symbolic data analysis problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionGrammar.cs

    r5695 r5742  
    2121
    2222using HeuristicLab.Common;
     23using System.Linq;
    2324using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using System.Collections.Generic;
    2426
    2527namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
     
    104106      startSymbol = (StartSymbol)cloner.Clone(original.StartSymbol);
    105107      defunSymbol = (Defun)cloner.Clone(original.defunSymbol);
     108      symbols = original.symbols
     109        .ToDictionary(x => x.Key, y => (ISymbol)cloner.Clone(y.Value));
    106110      maximumFunctionArguments = original.maximumFunctionArguments;
    107111      minimumFunctionArguments = original.minimumFunctionArguments;
Note: See TracChangeset for help on using the changeset viewer.