Changeset 16902 for branches/2931_OR-Tools_LP_MIP/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs
- Timestamp:
- 05/07/19 09:16:04 (5 years ago)
- Location:
- branches/2931_OR-Tools_LP_MIP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP
- Property svn:mergeinfo changed
/trunk merged: 16819-16822,16839,16853,16855-16856,16858,16860-16861,16867-16869,16872-16873,16875,16878,16890,16894
- Property svn:mergeinfo changed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs
r16720 r16902 24 24 using System.Diagnostics.Contracts; 25 25 using System.Linq; 26 using HEAL.Attic; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; … … 29 30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 31 using HeuristicLab.Parameters; 31 using HEAL.Attic;32 32 33 33 … … 88 88 var g = new SimpleSymbolicExpressionGrammar(); // will be replaced in update grammar 89 89 Encoding = new SymbolicExpressionTreeEncoding(g, 100, 17); 90 Encoding.GrammarParameter.ReadOnly = true; 90 91 91 92 UpdateGrammar(); … … 110 111 g.AddTerminalSymbol(string.Format("d{0}", i)); 111 112 113 Encoding.GrammarParameter.ReadOnly = false; 112 114 Encoding.Grammar = g; 115 Encoding.GrammarParameter.ReadOnly = true; 113 116 114 117 BestKnownQuality = Math.Pow(2, NumberOfBits); // this is a benchmark problem (the best achievable quality is known for a given number of bits)
Note: See TracChangeset
for help on using the changeset viewer.