- Timestamp:
- 07/22/19 14:15:55 (5 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 16872-16873,16875,16890
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs
r17097 r17149 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.