Changeset 17655 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean
- Timestamp:
- 07/07/20 17:46:40 (4 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/EvenParityProblem.cs
r17382 r17655 95 95 g.AddTerminalSymbol(string.Format("{0}", i)); 96 96 97 Encoding.GrammarParameter.ReadOnly = false;98 97 Encoding.Grammar = g; 99 Encoding.GrammarParameter.ReadOnly = true;98 Encoding.GrammarParameter.ReadOnly = GrammarRefParameter.ReadOnly = true; 100 99 101 BestKnownQualityParameter.ReadOnly = false;102 100 BestKnownQuality = Math.Pow(2, NumberOfBits); // this is a benchmark problem (the best achievable quality is known for a given number of bits) 103 101 BestKnownQualityParameter.ReadOnly = true; -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs
r17382 r17655 109 109 g.AddTerminalSymbol(string.Format("d{0}", i)); 110 110 111 Encoding.GrammarParameter.ReadOnly = false;112 111 Encoding.Grammar = g; 113 Encoding.GrammarParameter.ReadOnly = true; 114 115 BestKnownQualityParameter.ReadOnly = false; 112 Encoding.GrammarParameter.ReadOnly = GrammarRefParameter.ReadOnly = true; 113 116 114 BestKnownQuality = Math.Pow(2, NumberOfBits); // this is a benchmark problem (the best achievable quality is known for a given number of bits) 117 115 BestKnownQualityParameter.ReadOnly = true;
Note: See TracChangeset
for help on using the changeset viewer.