Changeset 16815
- Timestamp:
- 04/18/19 13:56:14 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs
r16811 r16815 32 32 namespace HeuristicLab.Problems.Programmable { 33 33 [Item("Programmable Problem (multi-objective)", "Represents a multi-objective problem that can be programmed with a script.")] 34 [Creatable(CreatableAttribute.Categories.Problems, Priority = 120)]35 34 [StorableType("1AA24077-4E1E-4FAE-8EC8-B6008DFD30B9")] 36 public class MultiObjectiveProgrammableProblem<TEncoding, TEncodedSolution> : MultiObjectiveProblem<TEncoding, TEncodedSolution>, IProgrammableItem, IProgrammableProblem35 public abstract class MultiObjectiveProgrammableProblem<TEncoding, TEncodedSolution> : MultiObjectiveProblem<TEncoding, TEncodedSolution>, IProgrammableItem, IProgrammableProblem 37 36 where TEncoding : class, IEncoding<TEncodedSolution> 38 37 where TEncodedSolution : class, IEncodedSolution { … … 65 64 : base(original, cloner) { 66 65 RegisterEvents(); 67 }68 69 public override IDeepCloneable Clone(Cloner cloner) {70 return new MultiObjectiveProgrammableProblem<TEncoding, TEncodedSolution>(this, cloner);71 66 } 72 67 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs
r16811 r16815 34 34 namespace HeuristicLab.Problems.Programmable { 35 35 [Item("Programmable Problem (single-objective)", "Represents a single-objective problem that can be programmed with a script.")] 36 [Creatable(CreatableAttribute.Categories.Problems, Priority = 110)]37 36 [StorableType("44944E6B-E95E-4805-8F0A-0C0F7D761DB9")] 38 public class SingleObjectiveProgrammableProblem<TEncoding, TEncodedSolution> : SingleObjectiveProblem<TEncoding, TEncodedSolution>, IProgrammableItem, IProgrammableProblem37 public abstract class SingleObjectiveProgrammableProblem<TEncoding, TEncodedSolution> : SingleObjectiveProblem<TEncoding, TEncodedSolution>, IProgrammableItem, IProgrammableProblem 39 38 where TEncoding : class, IEncoding<TEncodedSolution> 40 39 where TEncodedSolution : class, IEncodedSolution { … … 65 64 : base(original, cloner) { 66 65 RegisterEvents(); 67 }68 69 public override IDeepCloneable Clone(Cloner cloner) {70 return new SingleObjectiveProgrammableProblem<TEncoding, TEncodedSolution>(this, cloner);71 66 } 72 67
Note: See TracChangeset
for help on using the changeset viewer.