- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/HeuristicLab.Problems.Programmable-3.3.csproj
r16454 r16462 79 79 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 80 80 </Reference> 81 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">81 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 82 82 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 83 83 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProblemDefinitionScript.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Optimization; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.Programmable { 28 28 [Item("Multi-objective Problem Definition Script", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")] 29 [Storable Class]29 [StorableType("17741D64-CF9D-4CCF-9892-0590C325D4E6")] 30 30 public sealed class MultiObjectiveProblemDefinitionScript : ProblemDefinitionScript, IMultiObjectiveProblemDefinition, IStorableContent { 31 31 public string Filename { get; set; } … … 36 36 37 37 [StorableConstructor] 38 private MultiObjectiveProblemDefinitionScript( bool deserializing) : base(deserializing) { }38 private MultiObjectiveProblemDefinitionScript(StorableConstructorFlag _) : base(_) { } 39 39 private MultiObjectiveProblemDefinitionScript(MultiObjectiveProblemDefinitionScript original, Cloner cloner) : base(original, cloner) { } 40 40 public MultiObjectiveProblemDefinitionScript() : base(ScriptTemplates.CompiledMultiObjectiveProblemDefinition) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.Programmable { 32 32 [Item("Programmable Problem (multi-objective)", "Represents a multi-objective problem that can be programmed with a script.")] 33 33 [Creatable(CreatableAttribute.Categories.Problems, Priority = 120)] 34 [Storable Class]34 [StorableType("1AA24077-4E1E-4FAE-8EC8-B6008DFD30B9")] 35 35 public sealed class MultiObjectiveProgrammableProblem : MultiObjectiveBasicProblem<IEncoding>, IProgrammableItem { 36 36 public static new Image StaticItemImage { … … 57 57 58 58 [StorableConstructor] 59 private MultiObjectiveProgrammableProblem( bool deserializing) : base(deserializing) { }59 private MultiObjectiveProgrammableProblem(StorableConstructorFlag _) : base(_) { } 60 60 public MultiObjectiveProgrammableProblem() 61 61 : base() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/ProblemDefinitionScript.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Optimization; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 using HeuristicLab.Scripting; 30 30 31 31 namespace HeuristicLab.Problems.Programmable { 32 32 [Item("ProblemDefinitionScript", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")] 33 [Storable Class]33 [StorableType("5573B778-C60C-44BF-98FB-A8E189818C00")] 34 34 public abstract class ProblemDefinitionScript : Script, IProblemDefinition { 35 35 protected bool SuppressEvents { get; set; } … … 45 45 46 46 [StorableConstructor] 47 protected ProblemDefinitionScript( bool deserializing) : base(deserializing) { }47 protected ProblemDefinitionScript(StorableConstructorFlag _) : base(_) { } 48 48 protected ProblemDefinitionScript(ProblemDefinitionScript original, Cloner cloner) 49 49 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProblemDefinitionScript.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.Programmable { 29 29 [Item("Single-objective Problem Definition Script", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")] 30 [Storable Class]30 [StorableType("D0B2A649-EDDE-4A6E-A3B5-F40F5FD1B2C0")] 31 31 public sealed class SingleObjectiveProblemDefinitionScript : ProblemDefinitionScript, ISingleObjectiveProblemDefinition, IStorableContent { 32 32 public string Filename { get; set; } … … 37 37 38 38 [StorableConstructor] 39 private SingleObjectiveProblemDefinitionScript( bool deserializing) : base(deserializing) { }39 private SingleObjectiveProblemDefinitionScript(StorableConstructorFlag _) : base(_) { } 40 40 private SingleObjectiveProblemDefinitionScript(SingleObjectiveProblemDefinitionScript original, Cloner cloner) : base(original, cloner) { } 41 41 public SingleObjectiveProblemDefinitionScript() : base(ScriptTemplates.CompiledSingleObjectiveProblemDefinition) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.Programmable { 34 34 [Item("Programmable Problem (single-objective)", "Represents a single-objective problem that can be programmed with a script.")] 35 35 [Creatable(CreatableAttribute.Categories.Problems, Priority = 100)] 36 [Storable Class]36 [StorableType("44944E6B-E95E-4805-8F0A-0C0F7D761DB9")] 37 37 public sealed class SingleObjectiveProgrammableProblem : SingleObjectiveBasicProblem<IEncoding>, IProgrammableItem { 38 38 public static new Image StaticItemImage { … … 59 59 60 60 [StorableConstructor] 61 private SingleObjectiveProgrammableProblem( bool deserializing) : base(deserializing) { }61 private SingleObjectiveProgrammableProblem(StorableConstructorFlag _) : base(_) { } 62 62 public SingleObjectiveProgrammableProblem() 63 63 : base() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/Templates/CompiledMultiObjectiveProblemDefinition.cs
r12731 r16462 1 using System; 2 using System.Linq; 3 using System.Collections.Generic; 4 using HeuristicLab.Common; 5 using HeuristicLab.Core; 6 using HeuristicLab.Data; 7 using HeuristicLab.Encodings.BinaryVectorEncoding; 8 using HeuristicLab.Encodings.IntegerVectorEncoding; 9 using HeuristicLab.Encodings.RealVectorEncoding; 10 using HeuristicLab.Encodings.PermutationEncoding; 11 using HeuristicLab.Encodings.LinearLinkageEncoding; 12 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 1 using HeuristicLab.Core; 13 2 using HeuristicLab.Optimization; 14 using HeuristicLab.Problems.Programmable;15 3 16 4 namespace HeuristicLab.Problems.Programmable { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/Templates/CompiledSingleObjectiveProblemDefinition.cs
r12731 r16462 1 using System; 2 using System.Linq; 3 using System.Collections.Generic; 4 using HeuristicLab.Common; 1 using System.Collections.Generic; 5 2 using HeuristicLab.Core; 6 using HeuristicLab.Data;7 using HeuristicLab.Encodings.BinaryVectorEncoding;8 using HeuristicLab.Encodings.IntegerVectorEncoding;9 using HeuristicLab.Encodings.RealVectorEncoding;10 using HeuristicLab.Encodings.PermutationEncoding;11 using HeuristicLab.Encodings.LinearLinkageEncoding;12 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;13 3 using HeuristicLab.Optimization; 14 using HeuristicLab.Problems.Programmable;15 4 16 5 namespace HeuristicLab.Problems.Programmable {
Note: See TracChangeset
for help on using the changeset viewer.