Changeset 13382 for branches/ProblemRefactoring
- Timestamp:
- 11/24/15 17:58:03 (9 years ago)
- Location:
- branches/ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeEncoding.cs
r13372 r13382 159 159 [StorableConstructor] 160 160 private SymbolicExpressionTreeEncoding(bool deserializing) : base(deserializing) { } 161 public SymbolicExpressionTreeEncoding() : this(new SimpleSymbolicExpressionGrammar()) { } 161 162 public SymbolicExpressionTreeEncoding(ISymbolicExpressionGrammar grammar) : this("SymbolicExpressionTree", grammar, 50, 50) { } 162 163 public SymbolicExpressionTreeEncoding(ISymbolicExpressionGrammar grammar, int maximumLength, int maximumDepth) : this("SymbolicExpressionTree", grammar, maximumLength, maximumDepth) { } -
branches/ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs
r13376 r13382 72 72 Parameters.Add(new FixedValueParameter<MultiObjectiveProblemDefinitionScript<TEncoding, TSolution>>("ProblemScript", "Defines the problem.", 73 73 new MultiObjectiveProblemDefinitionScript<TEncoding, TSolution>() { Name = Name })); 74 ProblemScript.Encoding = Encoding =(TEncoding)Encoding.Clone();74 ProblemScript.Encoding = (TEncoding)Encoding.Clone(); 75 75 RegisterEvents(); 76 76 } -
branches/ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs
r13376 r13382 74 74 Parameters.Add(new FixedValueParameter<SingleObjectiveProblemDefinitionScript<TEncoding, TSolution>>("ProblemScript", "Defines the problem.", 75 75 new SingleObjectiveProblemDefinitionScript<TEncoding, TSolution>() { Name = Name })); 76 ProblemScript.Encoding = Encoding =(TEncoding)Encoding.Clone();76 ProblemScript.Encoding = (TEncoding)Encoding.Clone(); 77 77 Operators.Add(new BestScopeSolutionAnalyzer()); 78 78 RegisterEvents();
Note: See TracChangeset
for help on using the changeset viewer.