Changeset 11814 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/SingleObjectiveProgrammableProblem.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/SingleObjectiveProgrammableProblem.cs
r11812 r11814 29 29 30 30 namespace HeuristicLab.Problems.Programmable { 31 [Item(" Scriptable Problem (single-objective)", "Represents a single-objective problem that can be scripted.")]31 [Item("Programmable Problem (single-objective)", "Represents a single-objective problem that can be programmed with a script.")] 32 32 [Creatable("1 Test")] 33 33 [StorableClass] 34 public sealed class SingleObjective ScriptableProblem : SingleObjectiveProgrammableProblem<IEncoding> {34 public sealed class SingleObjectiveProgrammableProblem : SingleObjectiveBasicProblem<IEncoding> { 35 35 36 36 private FixedValueParameter<SingleObjectiveProblemDefinitionScript> SingleObjectiveProblemScriptParameter { … … 46 46 } 47 47 48 private SingleObjective ScriptableProblem(SingleObjectiveScriptableProblem original, Cloner cloner)48 private SingleObjectiveProgrammableProblem(SingleObjectiveProgrammableProblem original, Cloner cloner) 49 49 : base(original, cloner) { 50 50 RegisterEvents(); … … 56 56 } 57 57 } 58 public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjective ScriptableProblem(this, cloner); }58 public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjectiveProgrammableProblem(this, cloner); } 59 59 60 60 61 61 [StorableConstructor] 62 private SingleObjective ScriptableProblem(bool deserializing) : base(deserializing) { }62 private SingleObjectiveProgrammableProblem(bool deserializing) : base(deserializing) { } 63 63 64 public SingleObjective ScriptableProblem()64 public SingleObjectiveProgrammableProblem() 65 65 : base() { 66 66 Parameters.Add(new FixedValueParameter<SingleObjectiveProblemDefinitionScript>("ProblemScript", "Defines the problem.", new SingleObjectiveProblemDefinitionScript() { Name = Name }));
Note: See TracChangeset
for help on using the changeset viewer.