Changeset 11814 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/MultiObjectiveProgrammableProblem.cs
- Timestamp:
- 01/21/15 13:10:24 (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/MultiObjectiveProgrammableProblem.cs
r11812 r11814 28 28 29 29 namespace HeuristicLab.Problems.Programmable { 30 [Item(" Scriptable Problem (multi-objective)", "Represents a multi-objective problem that can be scripted.")]30 [Item("Programmable Problem (multi-objective)", "Represents a multi-objective problem that can be programmed with a script.")] 31 31 [Creatable("1 Test")] 32 32 [StorableClass] 33 public sealed class MultiObjective ScriptableProblem : MultiObjectiveProgrammableProblem<IEncoding> {33 public sealed class MultiObjectiveProgrammableProblem : MultiObjectiveBasicProblem<IEncoding> { 34 34 35 35 private FixedValueParameter<MultiObjectiveProblemDefinitionScript> MultiObjectiveProblemScriptParameter { … … 45 45 } 46 46 47 private MultiObjective ScriptableProblem(MultiObjectiveScriptableProblem original, Cloner cloner)47 private MultiObjectiveProgrammableProblem(MultiObjectiveProgrammableProblem original, Cloner cloner) 48 48 : base(original, cloner) { 49 49 RegisterEvents(); … … 55 55 } 56 56 } 57 public override IDeepCloneable Clone(Cloner cloner) { return new MultiObjective ScriptableProblem(this, cloner); }57 public override IDeepCloneable Clone(Cloner cloner) { return new MultiObjectiveProgrammableProblem(this, cloner); } 58 58 59 59 60 60 [StorableConstructor] 61 private MultiObjective ScriptableProblem(bool deserializing) : base(deserializing) { }61 private MultiObjectiveProgrammableProblem(bool deserializing) : base(deserializing) { } 62 62 63 public MultiObjective ScriptableProblem()63 public MultiObjectiveProgrammableProblem() 64 64 : base() { 65 65 Parameters.Add(new FixedValueParameter<MultiObjectiveProblemDefinitionScript>("ProblemScript", "Defines the problem.", new MultiObjectiveProblemDefinitionScript() { Name = Name }));
Note: See TracChangeset
for help on using the changeset viewer.