Changeset 7280 for trunk/sources
- Timestamp:
- 01/05/12 16:25:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Analyzers/SymbolicExpressionTreeLengthAnalyzer.cs
r7259 r7280 121 121 Parameters.Add(new ValueParameter<IntValue>(UpdateIntervalParameterName, "The interval in which the tree length analysis should be applied.", new IntValue(1))); 122 122 } 123 //necessary code to correct UpdateCounterParameter - type was changed from LookupParameter to ValueParameter 124 if (Parameters.ContainsKey(UpdateCounterParameterName) && (Parameters[UpdateCounterParameterName] is LookupParameter<IntValue>)) 125 Parameters.Remove(UpdateCounterParameterName); 123 126 if (!Parameters.ContainsKey(UpdateCounterParameterName)) { 124 127 Parameters.Add(new ValueParameter<IntValue>(UpdateCounterParameterName, "The value which counts how many times the operator was called since the last update", new IntValue(0)));
Note: See TracChangeset
for help on using the changeset viewer.