- Timestamp:
- 04/08/11 10:08:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Analyzers/SymbolicExpressionSymbolFrequencyAnalyzer.cs
r5971 r5983 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Data; 27 28 using HeuristicLab.Operators; 28 29 using HeuristicLab.Optimization; 29 30 using HeuristicLab.Parameters; 30 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 using HeuristicLab.Data;32 32 33 33 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { … … 76 76 public override IDeepCloneable Clone(Cloner cloner) { 77 77 return new SymbolicExpressionSymbolFrequencyAnalyzer(this, cloner); 78 } 79 80 [StorableHook(HookType.AfterDeserialization)] 81 private void AfterDeserialization() { 82 #region remove with HL 3.4 83 if (!Parameters.ContainsKey(AggregateSymbolsWithDifferentSubtreeCountParameterName)) 84 Parameters.Add(new ValueParameter<BoolValue>(AggregateSymbolsWithDifferentSubtreeCountParameterName, "Flag that indicates if the frequencies of symbols with the same name but different number of sub-trees should be aggregated.", new BoolValue(true))); 85 #endregion 78 86 } 79 87
Note: See TracChangeset
for help on using the changeset viewer.