Changeset 11814 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/BasicProblem.cs
- Timestamp:
- 01/21/15 13:10:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/BasicProblem.cs
r11813 r11814 31 31 namespace HeuristicLab.Problems.Programmable { 32 32 [StorableClass] 33 public abstract class ProgrammableProblem<TEncoding, TEvaluator> : HeuristicOptimizationProblem<TEvaluator, ISolutionCreator>, IProblemDefinition, IStorableContent33 public abstract class BasicProblem<TEncoding, TEvaluator> : HeuristicOptimizationProblem<TEvaluator, ISolutionCreator>, IProblemDefinition, IStorableContent 34 34 where TEncoding : class, IEncoding 35 35 where TEvaluator : class, IEvaluator { … … 64 64 } 65 65 66 protected ProgrammableProblem()66 protected BasicProblem() 67 67 : base() { 68 68 Parameters.Add(new ValueParameter<TEncoding>("Encoding", "Describes the configuration of the encoding, what the variables are called, what type they are and their bounds if any.")); … … 71 71 } 72 72 73 protected ProgrammableProblem(ProgrammableProblem<TEncoding, TEvaluator> original, Cloner cloner)73 protected BasicProblem(BasicProblem<TEncoding, TEvaluator> original, Cloner cloner) 74 74 : base(original, cloner) { 75 75 oldEncoding = cloner.Clone(original.oldEncoding); … … 78 78 79 79 [StorableConstructor] 80 protected ProgrammableProblem(bool deserializing) : base(deserializing) { }80 protected BasicProblem(bool deserializing) : base(deserializing) { } 81 81 [StorableHook(HookType.AfterDeserialization)] 82 82 private void AfterDeserialization() {
Note: See TracChangeset
for help on using the changeset viewer.