Changeset 17034 for branches/2435-alglib_3_15/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs
- Timestamp:
- 06/25/19 23:14:06 (5 years ago)
- Location:
- branches/2435-alglib_3_15
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2435-alglib_3_15
- Property svn:mergeinfo changed
-
branches/2435-alglib_3_15/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs
r16565 r17034 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.