- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/HeuristicLab.Clients.OKB-3.3.csproj
r16454 r16462 92 92 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 93 93 </Reference> 94 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">94 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 95 95 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 96 96 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyAlgorithm.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 using HeuristicLab.PluginInfrastructure; 28 28 29 29 namespace HeuristicLab.Clients.OKB.RunCreation { 30 30 [Item("Empty Algorithm", "A dummy algorithm which serves as a placeholder and cannot be executed.")] 31 [Storable Class]31 [StorableType("C98C8322-5A78-4518-A94D-FA20F12AB8D3")] 32 32 [NonDiscoverableType] 33 33 public sealed class EmptyAlgorithm : HeuristicLab.Optimization.Algorithm { … … 55 55 56 56 [StorableConstructor] 57 private EmptyAlgorithm(bool deserializing) 58 : base(deserializing) { 57 private EmptyAlgorithm(StorableConstructorFlag _) : base(_) { 59 58 this.results = new ResultCollection(); 60 59 } -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyEvaluator.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 using HeuristicLab.PluginInfrastructure; 29 29 30 30 namespace HeuristicLab.Clients.OKB.RunCreation { 31 31 [Item("EmptyEvaluator", "A dummy evaluator which throws an exception when executed.")] 32 [Storable Class]32 [StorableType("0AC24AEA-8CBF-4F93-AE7A-02113344FAD8")] 33 33 [NonDiscoverableType] 34 34 public sealed class EmptyEvaluator : Operator, IEvaluator { … … 51 51 52 52 [StorableConstructor] 53 private EmptyEvaluator( bool deserializing) : base(deserializing) { }53 private EmptyEvaluator(StorableConstructorFlag _) : base(_) { } 54 54 private EmptyEvaluator(EmptyEvaluator original, Cloner cloner) 55 55 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyMultiObjectiveEvaluator.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 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Clients.OKB.RunCreation { 33 33 [Item("EmptyMultiObjectiveEvaluator", "A dummy multi-objective evaluator which throws an exception when executed.")] 34 [Storable Class]34 [StorableType("5E0EF79B-C771-4B6A-AAFD-598A1FF2D3AA")] 35 35 [NonDiscoverableType] 36 36 public sealed class EmptyMultiObjectiveEvaluator : Operator, IMultiObjectiveEvaluator { … … 57 57 58 58 [StorableConstructor] 59 private EmptyMultiObjectiveEvaluator( bool deserializing) : base(deserializing) { }59 private EmptyMultiObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 60 60 private EmptyMultiObjectiveEvaluator(EmptyMultiObjectiveEvaluator original, Cloner cloner) 61 61 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyMultiObjectiveProblem.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 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { 29 29 [Item("Empty Multi-Objective Problem", "A dummy multi-objective problem which serves as a placeholder and cannot be solved.")] 30 [Storable Class]30 [StorableType("1AD8A6B9-1B3E-40BA-BAE2-8EAD31793B7D")] 31 31 [NonDiscoverableType] 32 32 public sealed class EmptyMultiObjectiveProblem : MultiObjectiveHeuristicOptimizationProblem<EmptyMultiObjectiveEvaluator, EmptySolutionCreator> { … … 39 39 40 40 [StorableConstructor] 41 private EmptyMultiObjectiveProblem( bool deserializing) : base(deserializing) { }41 private EmptyMultiObjectiveProblem(StorableConstructorFlag _) : base(_) { } 42 42 private EmptyMultiObjectiveProblem(EmptyMultiObjectiveProblem original, Cloner cloner) : base(original, cloner) { } 43 43 public EmptyMultiObjectiveProblem() : base(new EmptyMultiObjectiveEvaluator(), new EmptySolutionCreator()) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyProblem.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 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { 29 29 [Item("Empty Problem", "A dummy problem which serves as a placeholder and cannot be solved.")] 30 [Storable Class]30 [StorableType("10132D57-7177-42A2-97B9-B77D89AADE6A")] 31 31 [NonDiscoverableType] 32 32 public sealed class EmptyProblem : HeuristicOptimizationProblem<EmptyEvaluator, EmptySolutionCreator> { … … 39 39 40 40 [StorableConstructor] 41 private EmptyProblem( bool deserializing) : base(deserializing) { }41 private EmptyProblem(StorableConstructorFlag _) : base(_) { } 42 42 private EmptyProblem(EmptyProblem original, Cloner cloner) : base(original, cloner) { } 43 43 public EmptyProblem() -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptySingleObjectiveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 using HeuristicLab.PluginInfrastructure; 30 30 31 31 namespace HeuristicLab.Clients.OKB.RunCreation { 32 32 [Item("EmptySingleObjectiveEvaluator", "A dummy single-objective evaluator which throws an exception when executed.")] 33 [Storable Class]33 [StorableType("EBA99DEF-5A98-49AA-B0F6-401886774335")] 34 34 [NonDiscoverableType] 35 35 public sealed class EmptySingleObjectiveEvaluator : Operator, ISingleObjectiveEvaluator { … … 56 56 57 57 [StorableConstructor] 58 private EmptySingleObjectiveEvaluator( bool deserializing) : base(deserializing) { }58 private EmptySingleObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 59 59 private EmptySingleObjectiveEvaluator(EmptySingleObjectiveEvaluator original, Cloner cloner) 60 60 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptySingleObjectiveProblem.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 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { 29 29 [Item("Empty Single-Objective Problem", "A dummy single-objective problem which serves as a placeholder and cannot be solved.")] 30 [Storable Class]30 [StorableType("12D022A4-6DC4-4840-9EE7-F1EEB7A408F6")] 31 31 [NonDiscoverableType] 32 32 public sealed class EmptySingleObjectiveProblem : SingleObjectiveHeuristicOptimizationProblem<EmptySingleObjectiveEvaluator, EmptySolutionCreator> { … … 39 39 40 40 [StorableConstructor] 41 private EmptySingleObjectiveProblem( bool deserializing) : base(deserializing) { }41 private EmptySingleObjectiveProblem(StorableConstructorFlag _) : base(_) { } 42 42 private EmptySingleObjectiveProblem(EmptySingleObjectiveProblem original, Cloner cloner) : base(original, cloner) { } 43 43 public EmptySingleObjectiveProblem() : base(new EmptySingleObjectiveEvaluator(), new EmptySolutionCreator()) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptySolutionCreator.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 using HeuristicLab.PluginInfrastructure; 29 29 30 30 namespace HeuristicLab.Clients.OKB.RunCreation { 31 31 [Item("EmptySolutionCreator", "A dummy solution creator which throws an exception when executed.")] 32 [Storable Class]32 [StorableType("A3793B3B-A85B-47D3-A3DB-D35565518598")] 33 33 [NonDiscoverableType] 34 34 public sealed class EmptySolutionCreator : Operator, ISolutionCreator { … … 51 51 52 52 [StorableConstructor] 53 private EmptySolutionCreator( bool deserializing) : base(deserializing) { }53 private EmptySolutionCreator(StorableConstructorFlag _) : base(_) { } 54 54 private EmptySolutionCreator(EmptySolutionCreator original, Cloner cloner) 55 55 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/ItemWrapper.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 using HeuristicLab.PluginInfrastructure; 28 28 29 29 namespace HeuristicLab.Clients.OKB.RunCreation { 30 30 [Item("ItemWrapper", "A wrapper which wraps an IItem.")] 31 [Storable Class]31 [StorableType("27F3E8E3-AC7D-415E-BF16-7E05EF6E1549")] 32 32 [NonDiscoverableType] 33 33 public class ItemWrapper<T> : IItem where T : class, IItem { … … 74 74 75 75 [StorableConstructor] 76 protected ItemWrapper( bool deserializing) { }76 protected ItemWrapper(StorableConstructorFlag _) { } 77 77 protected ItemWrapper(ItemWrapper<T> original, Cloner cloner) { 78 78 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/MultiObjectiveOKBProblem.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.Clients.OKB.RunCreation { 29 29 [Item("OKB Problem (multi-objective)", "Represents a multi-objective problem which is stored in the OKB.")] 30 30 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 120)] 31 [Storable Class]31 [StorableType("BB74E220-F721-4129-9A50-374647B16B97")] 32 32 public sealed class MultiObjectiveOKBProblem : OKBProblem, IMultiObjectiveHeuristicOptimizationProblem, IStorableContent { 33 33 public string Filename { get; set; } … … 47 47 48 48 [StorableConstructor] 49 private MultiObjectiveOKBProblem( bool deserializing) : base(deserializing) { }49 private MultiObjectiveOKBProblem(StorableConstructorFlag _) : base(_) { } 50 50 private MultiObjectiveOKBProblem(MultiObjectiveOKBProblem original, Cloner cloner) : base(original, cloner) { } 51 51 public MultiObjectiveOKBProblem() : base(new EmptyMultiObjectiveProblem("No problem selected. Please choose a multi-objective problem instance from the OKB.")) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/NamedItemWrapper.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { 29 29 [Item("NamedItemWrapper", "A wrapper which wraps an INamedItem.")] 30 [Storable Class]30 [StorableType("F6834425-A9E1-41B9-A354-66062DC4FBA9")] 31 31 [NonDiscoverableType] 32 32 public class NamedItemWrapper<T> : ItemWrapper<T>, INamedItem where T : class, INamedItem { … … 59 59 60 60 [StorableConstructor] 61 protected NamedItemWrapper( bool deserializing) : base(deserializing) { }61 protected NamedItemWrapper(StorableConstructorFlag _) : base(_) { } 62 62 protected NamedItemWrapper(NamedItemWrapper<T> original, Cloner cloner) : base(original, cloner) { } 63 63 public NamedItemWrapper(T item) : base(item) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBAlgorithm.cs
r16453 r16462 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.Persistence.Default.Xml; 31 31 using System; … … 38 38 [Item("OKB Algorithm", "An algorithm which is stored in the OKB.")] 39 39 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 100)] 40 [Storable Class]40 [StorableType("159620CA-BC90-48D9-8868-5D8940016BA0")] 41 41 public sealed class OKBAlgorithm : Item, IAlgorithm, IStorableContent { 42 42 public string Filename { get; set; } … … 183 183 184 184 [StorableConstructor] 185 private OKBAlgorithm( bool deserializing) : base(deserializing) { }185 private OKBAlgorithm(StorableConstructorFlag _) : base(_) { } 186 186 private OKBAlgorithm(OKBAlgorithm original, Cloner cloner) 187 187 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBProblem.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 using HeuristicLab.Persistence.Default.Xml; 27 27 using System; … … 33 33 namespace HeuristicLab.Clients.OKB.RunCreation { 34 34 [Item("OKB Problem", "A base class for problems which are stored in the OKB.")] 35 [Storable Class]35 [StorableType("041DC8A8-2987-4045-B24A-CBA7EAD47316")] 36 36 public abstract class OKBProblem : Item, IHeuristicOptimizationProblem { 37 37 public virtual Type ProblemType { … … 139 139 140 140 [StorableConstructor] 141 protected OKBProblem( bool deserializing) : base(deserializing) { }141 protected OKBProblem(StorableConstructorFlag _) : base(_) { } 142 142 protected OKBProblem(OKBProblem original, Cloner cloner) 143 143 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs
r16453 r16462 30 30 using HeuristicLab.Core; 31 31 using HeuristicLab.Optimization; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 using HeuristicLab.Persistence.Default.Xml; 34 34 35 35 namespace HeuristicLab.Clients.OKB.RunCreation { 36 36 [Item("OKB Run", "The parameters and results of an algorithm run which are stored in the OKB.")] 37 [Storable Class]37 [StorableType("357B418B-4384-48EC-AAB3-F3008A7CD961")] 38 38 public sealed class OKBRun : NamedItemWrapper<IRun>, IRun, IStorableContent { 39 39 public string Filename { get; set; } … … 111 111 112 112 [StorableConstructor] 113 private OKBRun( bool deserializing) : base(deserializing) { }113 private OKBRun(StorableConstructorFlag _) : base(_) { } 114 114 private OKBRun(OKBRun original, Cloner cloner) 115 115 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBSolution.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 using System; 26 26 27 27 namespace HeuristicLab.Clients.OKB.RunCreation { 28 28 [Item("OKB Solution", "")] 29 [Storable Class]29 [StorableType("5B06773F-20A4-41C3-AEE1-62084E2F5E71")] 30 30 public abstract class OKBSolution : Item { 31 31 [Storable] … … 55 55 56 56 [StorableConstructor] 57 protected OKBSolution( bool deserializing) : base(deserializing) { }57 protected OKBSolution(StorableConstructorFlag _) : base(_) { } 58 58 protected OKBSolution(OKBSolution original, Cloner cloner) 59 59 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/SingleObjectiveOKBProblem.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.Clients.OKB.RunCreation { 29 29 [Item("OKB Problem (single-objective)", "Represents a single-objective problem which is stored in the OKB.")] 30 30 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 110)] 31 [Storable Class]31 [StorableType("1A1DF6E8-4A3F-4D91-9B1D-6FF6EC8D1055")] 32 32 public sealed class SingleObjectiveOKBProblem : OKBProblem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 33 33 public string Filename { get; set; } … … 50 50 51 51 [StorableConstructor] 52 private SingleObjectiveOKBProblem( bool deserializing) : base(deserializing) { }52 private SingleObjectiveOKBProblem(StorableConstructorFlag _) : base(_) { } 53 53 private SingleObjectiveOKBProblem(SingleObjectiveOKBProblem original, Cloner cloner) : base(original, cloner) { } 54 54 public SingleObjectiveOKBProblem() : base(new EmptySingleObjectiveProblem("No problem selected. Please choose a single-objective problem instance from the OKB.")) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB/3.3/RunCreation/SingleObjectiveOKBSolution.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 using HeuristicLab.Persistence.Default.Xml; 26 26 using System; … … 29 29 namespace HeuristicLab.Clients.OKB.RunCreation { 30 30 [Item("OKB Solution (single-objective)", "")] 31 [Storable Class]31 [StorableType("55C3DE30-17C6-4327-8C33-7CF62201E78E")] 32 32 public sealed class SingleObjectiveOKBSolution : OKBSolution { 33 33 [Storable] … … 43 43 44 44 [StorableConstructor] 45 private SingleObjectiveOKBSolution( bool deserializing) : base(deserializing) { }45 private SingleObjectiveOKBSolution(StorableConstructorFlag _) : base(_) { } 46 46 private SingleObjectiveOKBSolution(SingleObjectiveOKBSolution original, Cloner cloner) 47 47 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.