Changeset 16725
- Timestamp:
- 03/28/19 17:19:09 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Decoder/JSMDecoder.cs
r13469 r16725 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Encodings.PermutationEncoding; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Random; 32 32 33 33 namespace HeuristicLab.Encodings.ScheduleEncoding { 34 34 [Item("JobSequenceMatrixDecoder", "Applies the GifflerThompson algorithm to create an active schedule from a JobSequence Matrix.")] 35 [Storable Class]35 [StorableType("BBE354C2-7599-43CC-ACDC-F8F0F65BE3F5")] 36 36 public class JSMDecoder : ScheduleDecoder<JSMEncoding> { 37 37 … … 52 52 53 53 [StorableConstructor] 54 protected JSMDecoder( bool deserializing) : base(deserializing) { }54 protected JSMDecoder(StorableConstructorFlag _) : base(_) { } 55 55 protected JSMDecoder(JSMDecoder original, Cloner cloner) : base(original, cloner) { } 56 56 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/JobSequenceMatrixEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.ScheduleEncoding { 33 [Storable Class]33 [StorableType("9C090369-0214-42E6-8C3E-369751F5A9E1")] 34 34 public sealed class JobSequenceMatrixEncoding : ScheduleEncoding<JSMEncoding> { 35 35 [StorableConstructor] 36 private JobSequenceMatrixEncoding( bool deserializing) : base(deserializing) { }36 private JobSequenceMatrixEncoding(StorableConstructorFlag _) : base(_) { } 37 37 private JobSequenceMatrixEncoding(JobSequenceMatrixEncoding original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/Decoder/PWRDecoder.cs
r13469 r16725 20 20 #endregion 21 21 22 using System;22 using HEAL.Attic; 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 25 27 26 namespace HeuristicLab.Encodings.ScheduleEncoding { 28 27 [Item("PWRDecoder", "An item used to convert a PWR-individual into a generalized schedule.")] 29 [Storable Class]28 [StorableType("60D171BE-9704-40E1-9C63-0E56D95403CD")] 30 29 public class PWRDecoder : ScheduleDecoder<PWREncoding> { 31 30 [StorableConstructor] 32 protected PWRDecoder( bool deserializing) : base(deserializing) { }31 protected PWRDecoder(StorableConstructorFlag _) : base(_) { } 33 32 protected PWRDecoder(PWRDecoder original, Cloner cloner) : base(original, cloner) { } 34 33 public PWRDecoder() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PermutationWithRepetitionEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.ScheduleEncoding { 33 [Storable Class]33 [StorableType("468EF506-0749-469B-B9B9-36655AA0178D")] 34 34 public sealed class PermutationWithRepetitionEncoding : ScheduleEncoding<PWREncoding> { 35 35 [StorableConstructor] 36 private PermutationWithRepetitionEncoding( bool deserializing) : base(deserializing) { }36 private PermutationWithRepetitionEncoding(StorableConstructorFlag _) : base(_) { } 37 37 private PermutationWithRepetitionEncoding(PermutationWithRepetitionEncoding original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PriorityRulesVector/Decoder/PRVDecoder.cs
r13469 r16725 21 21 22 22 using System.Linq; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 26 using HeuristicLab.Random; 27 27 28 28 namespace HeuristicLab.Encodings.ScheduleEncoding { 29 29 [Item("JobSequencingMatrixDecoder", "Applies the GifflerThompson algorithm to create an active schedule from a JobSequencing Matrix.")] 30 [Storable Class]30 [StorableType("2D059957-AC7C-4B33-BADE-96706AEBAF29")] 31 31 public class PRVDecoder : ScheduleDecoder<PRVEncoding> { 32 32 #region Priority Rules … … 158 158 159 159 [StorableConstructor] 160 protected PRVDecoder( bool deserializing) : base(deserializing) { }160 protected PRVDecoder(StorableConstructorFlag _) : base(_) { } 161 161 protected PRVDecoder(PRVDecoder original, Cloner cloner) : base(original, cloner) { } 162 162 public PRVDecoder() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PriorityRulesVector/PriorityRulesVectorEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 30 using HeuristicLab.Data; 30 31 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 34 namespace HeuristicLab.Encodings.ScheduleEncoding { 35 [Storable Class]35 [StorableType("9C419EE5-F3A8-4F06-8263-7D37D3AE1C72")] 36 36 public sealed class PriorityRulesVectorEncoding : ScheduleEncoding<PRVEncoding> { 37 37 … … 53 53 54 54 [StorableConstructor] 55 private PriorityRulesVectorEncoding( bool deserializing) : base(deserializing) { }55 private PriorityRulesVectorEncoding(StorableConstructorFlag _) : base(_) { } 56 56 private PriorityRulesVectorEncoding(PriorityRulesVectorEncoding original, Cloner cloner) : base(original, cloner) { } 57 57 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleDecoder.cs
r13469 r16725 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Operators; 26 27 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;28 28 29 29 namespace HeuristicLab.Encodings.ScheduleEncoding { 30 30 [Item("ScheduleDecoder", "A schedule decoder translates a respresentation into an actual schedule.")] 31 [Storable Class]31 [StorableType("57A68F4B-4B35-4DB4-9B5E-D5154DD46E45")] 32 32 public abstract class ScheduleDecoder<TSchedule> : SingleSuccessorOperator, IScheduleDecoder<TSchedule> 33 33 where TSchedule : class, ISchedule { … … 44 44 45 45 [StorableConstructor] 46 protected ScheduleDecoder( bool deserializing) : base(deserializing) { }46 protected ScheduleDecoder(StorableConstructorFlag _) : base(_) { } 47 47 protected ScheduleDecoder(ScheduleDecoder<TSchedule> original, Cloner cloner) : base(original, cloner) { } 48 48 public ScheduleDecoder() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding.cs
r13469 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 34 34 namespace HeuristicLab.Encodings.ScheduleEncoding { 35 [Storable Class]35 [StorableType("D2FB1AF9-EF13-4ED2-B3E9-D5BE4E5772EA")] 36 36 public abstract class ScheduleEncoding<TSchedule> : Encoding<TSchedule>, IScheduleEncoding 37 37 where TSchedule : class, ISchedule { … … 119 119 120 120 [StorableConstructor] 121 protected ScheduleEncoding( bool deserializing) : base(deserializing) { }121 protected ScheduleEncoding(StorableConstructorFlag _) : base(_) { } 122 122 protected ScheduleEncoding(ScheduleEncoding<TSchedule> original, Cloner cloner) 123 123 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Decoder/DirectScheduleDecoder.cs
r13469 r16725 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;25 25 26 26 namespace HeuristicLab.Encodings.ScheduleEncoding { 27 27 [Item("DirectScheduleDecoder", "An item used to convert a direct schedule into a generalized schedule.")] 28 [Storable Class]28 [StorableType("151C772B-6E6C-40D9-B171-F5626C676A5F")] 29 29 public class DirectScheduleDecoder : ScheduleDecoder<Schedule> { 30 30 [StorableConstructor] 31 protected DirectScheduleDecoder( bool deserializing) : base(deserializing) { }31 protected DirectScheduleDecoder(StorableConstructorFlag _) : base(_) { } 32 32 protected DirectScheduleDecoder(DirectScheduleDecoder original, Cloner cloner) : base(original, cloner) { } 33 33 public DirectScheduleDecoder() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/DirectScheduleEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.ScheduleEncoding { 33 [Storable Class]33 [StorableType("BB1BD851-3E77-4357-942C-EAF5BE6760B4")] 34 34 public sealed class DirectScheduleEncoding : ScheduleEncoding<Schedule> { 35 35 [StorableConstructor] 36 private DirectScheduleEncoding( bool deserializing) : base(deserializing) { }36 private DirectScheduleEncoding(StorableConstructorFlag _) : base(_) { } 37 37 private DirectScheduleEncoding(DirectScheduleEncoding original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs
r16723 r16725 21 21 22 22 using System.Drawing; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Common.Resources; … … 27 28 using HeuristicLab.Optimization; 28 29 using HeuristicLab.Parameters; 29 using HEAL.Attic;30 30 using HeuristicLab.Scripting; 31 31 … … 61 61 62 62 [StorableConstructor] 63 pr ivateMultiObjectiveProgrammableProblem(StorableConstructorFlag _) : base(_) { }63 protected MultiObjectiveProgrammableProblem(StorableConstructorFlag _) : base(_) { } 64 64 protected MultiObjectiveProgrammableProblem(MultiObjectiveProgrammableProblem<TEncoding, TSolution> original, Cloner cloner) 65 65 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/ProblemDefinitionScript.cs
r16723 r16725 23 23 using System.Linq; 24 24 using System.Reflection; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using HeuristicLab.Optimization; 28 using HEAL.Attic;29 29 using HeuristicLab.Scripting; 30 30 … … 55 55 56 56 [Item("ProblemDefinitionScript", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")] 57 [Storable Class]57 [StorableType("0B3AF22C-4744-4860-BBCF-A92046000847")] 58 58 public abstract class ProblemDefinitionScript<TEncoding, TSolution> : ProblemDefinitionScript, IProblemDefinition<TEncoding, TSolution> 59 59 where TEncoding : class, IEncoding<TSolution> … … 79 79 80 80 [StorableConstructor] 81 protected ProblemDefinitionScript( bool deserializing) : base(deserializing) { }81 protected ProblemDefinitionScript(StorableConstructorFlag _) : base(_) { } 82 82 protected ProblemDefinitionScript(ProblemDefinitionScript<TEncoding, TSolution> original, Cloner cloner) 83 83 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/ProgrammableProblemInstances.cs
r13376 r16725 22 22 #endregion 23 23 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 31 32 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 32 33 using HeuristicLab.Optimization; 33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;34 34 35 35 namespace HeuristicLab.Problems.Programmable { … … 37 37 [Item("Binary Vector Problem (single-objective)", "Represents a binary vector single-objective problem that can be programmed with a script.")] 38 38 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 100)] 39 [Storable Class]39 [StorableType("FD06DC4B-FB2C-4325-817A-AC030683537B")] 40 40 public sealed class SingleObjectiveBinaryVectorProgrammableProblem : SingleObjectiveProgrammableProblem<BinaryVectorEncoding, BinaryVector> { 41 41 42 42 [StorableConstructor] 43 private SingleObjectiveBinaryVectorProgrammableProblem( bool deserializing) : base(deserializing) { }43 private SingleObjectiveBinaryVectorProgrammableProblem(StorableConstructorFlag _) : base(_) { } 44 44 private SingleObjectiveBinaryVectorProgrammableProblem(SingleObjectiveBinaryVectorProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 45 45 … … 61 61 [Item("Integer Vector Problem (single-objective)", "Represents an integer vector single-objective problem that can be programmed with a script.")] 62 62 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 101)] 63 [Storable Class]63 [StorableType("650DF07C-886D-48DF-B796-CE8C18471E40")] 64 64 public sealed class SingleObjectiveIntegerVectorProgrammableProblem : SingleObjectiveProgrammableProblem<IntegerVectorEncoding, IntegerVector> { 65 65 66 66 [StorableConstructor] 67 private SingleObjectiveIntegerVectorProgrammableProblem( bool deserializing) : base(deserializing) { }67 private SingleObjectiveIntegerVectorProgrammableProblem(StorableConstructorFlag _) : base(_) { } 68 68 private SingleObjectiveIntegerVectorProgrammableProblem(SingleObjectiveIntegerVectorProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 69 69 … … 84 84 [Item("Real Vector Problem (single-objective)", "Represents a real vector single-objective problem that can be programmed with a script.")] 85 85 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 102)] 86 [Storable Class]86 [StorableType("FA01E098-D70B-4782-85E0-8DCF9D1F72D3")] 87 87 public sealed class SingleObjectiveRealVectorProgrammableProblem : SingleObjectiveProgrammableProblem<RealVectorEncoding, RealVector> { 88 88 89 89 [StorableConstructor] 90 private SingleObjectiveRealVectorProgrammableProblem( bool deserializing) : base(deserializing) { }90 private SingleObjectiveRealVectorProgrammableProblem(StorableConstructorFlag _) : base(_) { } 91 91 private SingleObjectiveRealVectorProgrammableProblem(SingleObjectiveRealVectorProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 92 92 … … 107 107 [Item("Permutation Problem (single-objective)", "Represents a permutation single-objective problem that can be programmed with a script.")] 108 108 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 103)] 109 [Storable Class]109 [StorableType("51D851AD-8F12-4C00-A626-CDF785574C07")] 110 110 public sealed class SingleObjectivePermutationProgrammableProblem : SingleObjectiveProgrammableProblem<PermutationEncoding, Permutation> { 111 111 112 112 [StorableConstructor] 113 private SingleObjectivePermutationProgrammableProblem( bool deserializing) : base(deserializing) { }113 private SingleObjectivePermutationProgrammableProblem(StorableConstructorFlag _) : base(_) { } 114 114 private SingleObjectivePermutationProgrammableProblem(SingleObjectivePermutationProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 115 115 … … 130 130 [Item("Symbolic Expression Tree Problem (single-objective)", "Represents a symbolic expression tree single-objective problem that can be programmed with a script.")] 131 131 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 104)] 132 [Storable Class]132 [StorableType("49EE7342-D54E-42D4-ADC1-0E79599385A2")] 133 133 public sealed class SingleObjectiveSymbolicExpressionTreeProgrammableProblem : SingleObjectiveProgrammableProblem<SymbolicExpressionTreeEncoding, ISymbolicExpressionTree> { 134 134 135 135 [StorableConstructor] 136 private SingleObjectiveSymbolicExpressionTreeProgrammableProblem( bool deserializing) : base(deserializing) { }136 private SingleObjectiveSymbolicExpressionTreeProgrammableProblem(StorableConstructorFlag _) : base(_) { } 137 137 private SingleObjectiveSymbolicExpressionTreeProgrammableProblem(SingleObjectiveSymbolicExpressionTreeProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 138 138 public SingleObjectiveSymbolicExpressionTreeProgrammableProblem() … … 152 152 [Item("Linear Linkage Problem (single-objective)", "Represents a linear linkage single-objective problem that can be programmed with a script.")] 153 153 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 105)] 154 [Storable Class]154 [StorableType("C6D025AC-C09A-49F1-BB2C-F40A16687E95")] 155 155 public sealed class SingleObjectiveLinearLinkageProgrammableProblem : SingleObjectiveProgrammableProblem<LinearLinkageEncoding, LinearLinkage> { 156 156 157 157 [StorableConstructor] 158 private SingleObjectiveLinearLinkageProgrammableProblem( bool deserializing) : base(deserializing) { }158 private SingleObjectiveLinearLinkageProgrammableProblem(StorableConstructorFlag _) : base(_) { } 159 159 private SingleObjectiveLinearLinkageProgrammableProblem(SingleObjectiveLinearLinkageProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 160 160 public SingleObjectiveLinearLinkageProgrammableProblem() … … 174 174 [Item("Combined Encoding Problem (single-objective)", "Represents a combined encoding single-objective problem that can be programmed with a script.")] 175 175 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsSingleObjective, Priority = 1000)] 176 [Storable Class]176 [StorableType("BF5186A9-8695-484D-888D-0DAE0F344AAD")] 177 177 public sealed class SingleObjectiveCombinedEncodingProgrammableProblem : SingleObjectiveProgrammableProblem<CombinedEncoding, CombinedSolution> { 178 178 179 179 [StorableConstructor] 180 private SingleObjectiveCombinedEncodingProgrammableProblem( bool deserializing) : base(deserializing) { }180 private SingleObjectiveCombinedEncodingProgrammableProblem(StorableConstructorFlag _) : base(_) { } 181 181 private SingleObjectiveCombinedEncodingProgrammableProblem(SingleObjectiveCombinedEncodingProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 182 182 … … 196 196 [Item("Binary Vector Problem (multi-objective)", "Represents a binary vector multi-objective problem that can be programmed with a script.")] 197 197 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 100)] 198 [Storable Class]198 [StorableType("750F0CF5-2779-49A7-BC32-EA3C593B50DE")] 199 199 public sealed class MultiObjectiveBinaryVectorProgrammableProblem : MultiObjectiveProgrammableProblem<BinaryVectorEncoding, BinaryVector> { 200 200 201 201 [StorableConstructor] 202 private MultiObjectiveBinaryVectorProgrammableProblem( bool deserializing) : base(deserializing) { }202 private MultiObjectiveBinaryVectorProgrammableProblem(StorableConstructorFlag _) : base(_) { } 203 203 private MultiObjectiveBinaryVectorProgrammableProblem(MultiObjectiveBinaryVectorProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 204 204 … … 220 220 [Item("Integer Vector Problem (multi-objective)", "Represents an integer vector multi-objective problem that can be programmed with a script.")] 221 221 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 101)] 222 [Storable Class]222 [StorableType("442F242E-29E6-416A-8CA3-C216300A1FA5")] 223 223 public sealed class MultiObjectiveIntegerVectorProgrammableProblem : MultiObjectiveProgrammableProblem<IntegerVectorEncoding, IntegerVector> { 224 224 225 225 [StorableConstructor] 226 private MultiObjectiveIntegerVectorProgrammableProblem( bool deserializing) : base(deserializing) { }226 private MultiObjectiveIntegerVectorProgrammableProblem(StorableConstructorFlag _) : base(_) { } 227 227 private MultiObjectiveIntegerVectorProgrammableProblem(MultiObjectiveIntegerVectorProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 228 228 … … 243 243 [Item("Real Vector Problem (multi-objective)", "Represents a real vector multi-objective problem that can be programmed with a script.")] 244 244 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 102)] 245 [Storable Class]245 [StorableType("2DEFF24A-755A-4E22-8DD8-B791C0BCC832")] 246 246 public sealed class MultiObjectiveRealVectorProgrammableProblem : MultiObjectiveProgrammableProblem<RealVectorEncoding, RealVector> { 247 247 248 248 [StorableConstructor] 249 private MultiObjectiveRealVectorProgrammableProblem( bool deserializing) : base(deserializing) { }249 private MultiObjectiveRealVectorProgrammableProblem(StorableConstructorFlag _) : base(_) { } 250 250 private MultiObjectiveRealVectorProgrammableProblem(MultiObjectiveRealVectorProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 251 251 … … 266 266 [Item("Permutation Problem (multi-objective)", "Represents a permutation multi-objective problem that can be programmed with a script.")] 267 267 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 103)] 268 [Storable Class]268 [StorableType("23FC641C-770B-49A2-AA3C-5862F4A55F94")] 269 269 public sealed class MultiObjectivePermutationProgrammableProblem : MultiObjectiveProgrammableProblem<PermutationEncoding, Permutation> { 270 270 271 271 [StorableConstructor] 272 private MultiObjectivePermutationProgrammableProblem( bool deserializing) : base(deserializing) { }272 private MultiObjectivePermutationProgrammableProblem(StorableConstructorFlag _) : base(_) { } 273 273 private MultiObjectivePermutationProgrammableProblem(MultiObjectivePermutationProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 274 274 public MultiObjectivePermutationProgrammableProblem() … … 288 288 [Item("Symbolic Expression Tree Programmable Problem (multi-objective)", "Represents a symbolic expression tree multi-objective problem that can be programmed with a script.")] 289 289 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 104)] 290 [Storable Class]290 [StorableType("FAEA5ED6-EA8F-4EA2-B84C-7A1B4491292A")] 291 291 public sealed class MultiObjectiveSymbolicExpressionTreeProgrammableProblem : MultiObjectiveProgrammableProblem<SymbolicExpressionTreeEncoding, ISymbolicExpressionTree> { 292 292 293 293 [StorableConstructor] 294 private MultiObjectiveSymbolicExpressionTreeProgrammableProblem( bool deserializing) : base(deserializing) { }294 private MultiObjectiveSymbolicExpressionTreeProgrammableProblem(StorableConstructorFlag _) : base(_) { } 295 295 private MultiObjectiveSymbolicExpressionTreeProgrammableProblem(MultiObjectiveSymbolicExpressionTreeProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 296 296 public MultiObjectiveSymbolicExpressionTreeProgrammableProblem() … … 310 310 [Item("Linear Linkage Programmable Problem (multi-objective)", "Represents a linear linkage multi-objective problem that can be programmed with a script.")] 311 311 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 105)] 312 [Storable Class]312 [StorableType("207E3110-4937-4A95-9331-39880739D7CF")] 313 313 public sealed class MultiObjectiveLinearLinkageProgrammableProblem : MultiObjectiveProgrammableProblem<LinearLinkageEncoding, LinearLinkage> { 314 314 315 315 [StorableConstructor] 316 private MultiObjectiveLinearLinkageProgrammableProblem( bool deserializing) : base(deserializing) { }316 private MultiObjectiveLinearLinkageProgrammableProblem(StorableConstructorFlag _) : base(_) { } 317 317 private MultiObjectiveLinearLinkageProgrammableProblem(MultiObjectiveLinearLinkageProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 318 318 public MultiObjectiveLinearLinkageProgrammableProblem() … … 332 332 [Item("Combined Encoding Problem (multi-objective)", "Represents a combined encoding multi-objective problem that can be programmed with a script.")] 333 333 [Creatable(CreatableAttribute.Categories.ProgrammableProblemsMultiObjective, Priority = 1000)] 334 [Storable Class]334 [StorableType("1EE16E10-63DD-41F1-8739-ACE7437D551B")] 335 335 public sealed class MultiObjectiveCombinedEncodingProgrammableProblem : MultiObjectiveProgrammableProblem<CombinedEncoding, CombinedSolution> { 336 336 337 337 [StorableConstructor] 338 private MultiObjectiveCombinedEncodingProgrammableProblem( bool deserializing) : base(deserializing) { }338 private MultiObjectiveCombinedEncodingProgrammableProblem(StorableConstructorFlag _) : base(_) { } 339 339 private MultiObjectiveCombinedEncodingProgrammableProblem(MultiObjectiveCombinedEncodingProgrammableProblem original, Cloner cloner) : base(original, cloner) { } 340 340 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs
r16723 r16725 22 22 using System.Collections.Generic; 23 23 using System.Drawing; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 29 30 using HeuristicLab.Optimization; 30 31 using HeuristicLab.Parameters; 31 using HEAL.Attic;32 32 using HeuristicLab.Scripting; 33 33 … … 72 72 73 73 [StorableConstructor] 74 pr ivateSingleObjectiveProgrammableProblem(StorableConstructorFlag _) : base(_) { }74 protected SingleObjectiveProgrammableProblem(StorableConstructorFlag _) : base(_) { } 75 75 public SingleObjectiveProgrammableProblem() 76 76 : base() {
Note: See TracChangeset
for help on using the changeset viewer.