Changeset 16892 for branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression
- Timestamp:
- 05/04/19 08:22:42 (6 years ago)
- Location:
- branches/2925_AutoDiffForDynamicalModels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2925_AutoDiffForDynamicalModels
- Property svn:mergeinfo changed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs
r16662 r16892 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 29 using HeuristicLab.Parameters; 29 using HEAL.Attic;30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 using HeuristicLab.Problems.Instances; … … 87 87 var g = new SimpleSymbolicExpressionGrammar(); // empty grammar is replaced in UpdateGrammar() 88 88 base.Encoding = new SymbolicExpressionTreeEncoding(g, 100, 17); 89 Encoding.GrammarParameter.ReadOnly = true; 89 90 90 91 UpdateGrammar(); … … 177 178 } 178 179 180 Encoding.GrammarParameter.ReadOnly = false; 179 181 Encoding.Grammar = g; 182 Encoding.GrammarParameter.ReadOnly = true; 180 183 } 181 184 #endregion
Note: See TracChangeset
for help on using the changeset viewer.