Changeset 17747 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/SingleObjective/SingleObjectiveOptimizationSupportScript.cs
- Timestamp:
- 09/15/20 17:09:10 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/SingleObjective/SingleObjectiveOptimizationSupportScript.cs
r17745 r17747 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using HEAL.Attic; … … 36 37 private SingleObjectiveOptimizationSupportScript(StorableConstructorFlag _) : base(_) { } 37 38 private SingleObjectiveOptimizationSupportScript(SingleObjectiveOptimizationSupportScript<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { } 38 public SingleObjectiveOptimizationSupportScript() : base() { 39 [Obsolete("Do not use this constructor.")] 40 public SingleObjectiveOptimizationSupportScript() : this(null) { } 41 public SingleObjectiveOptimizationSupportScript(ResultCollection results) : base(results) { 39 42 var codeTemplate = Templates.CompiledSingleObjectiveOptimizationSupport; 40 43 codeTemplate = codeTemplate.Replace("ENCODING_NAMESPACE", typeof(TEncodedSolution).Namespace); … … 45 48 public override IDeepCloneable Clone(Cloner cloner) { 46 49 return new SingleObjectiveOptimizationSupportScript<TEncodedSolution>(this, cloner); 50 } 51 52 void ISingleObjectiveOptimizationSupport<TEncodedSolution>.InitializeResults() { 53 CompiledInstance.InitializeResults(); 47 54 } 48 55
Note: See TracChangeset
for help on using the changeset viewer.