Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers/BatchRun.cs
r16453 r16462 29 29 using HeuristicLab.Core; 30 30 using HeuristicLab.Data; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Optimization { … … 39 39 [Item("Batch Run", "A run in which an optimizer is executed a given number of times.")] 40 40 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 110)] 41 [Storable Class]41 [StorableType("E85407E0-18EC-4198-8321-9CF030FDF6D7")] 42 42 public sealed class BatchRun : NamedItem, IOptimizer, IStorableContent { 43 43 public string Filename { get; set; } … … 199 199 } 200 200 [StorableConstructor] 201 private BatchRun( bool deserializing) : base(deserializing) { }201 private BatchRun(StorableConstructorFlag _) : base(_) { } 202 202 [StorableHook(HookType.AfterDeserialization)] 203 203 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers/Experiment.cs
r16453 r16462 29 29 using HeuristicLab.Common; 30 30 using HeuristicLab.Core; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Optimization { … … 37 37 [Item("Experiment", "An experiment which contains multiple algorithms, batch runs or other experiments.")] 38 38 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 100)] 39 [Storable Class]39 [StorableType("A8A4536B-54C1-4A17-AB58-A6006F7F394B")] 40 40 public sealed class Experiment : NamedItem, IOptimizer, IStorableContent { 41 41 public string Filename { get; set; } … … 161 161 } 162 162 [StorableConstructor] 163 private Experiment( bool deserializing) : base(deserializing) { }163 private Experiment(StorableConstructorFlag _) : base(_) { } 164 164 [StorableHook(HookType.AfterDeserialization)] 165 165 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs
r16453 r16462 31 31 using HeuristicLab.Common.Resources; 32 32 using HeuristicLab.Core; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Fossil; 34 34 35 35 namespace HeuristicLab.Optimization { … … 39 39 [Item("Timelimit Run", "A run in which an optimizer is executed a certain maximum time.")] 40 40 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 115)] 41 [Storable Class]41 [StorableType("85A1AB82-689F-4925-B888-B3886707BE88")] 42 42 public sealed class TimeLimitRun : NamedItem, IOptimizer, IStorableContent, INotifyPropertyChanged { 43 43 public string Filename { get; set; } … … 152 152 153 153 [StorableConstructor] 154 private TimeLimitRun( bool deserializing) : base(deserializing) { }154 private TimeLimitRun(StorableConstructorFlag _) : base(_) { } 155 155 private TimeLimitRun(TimeLimitRun original, Cloner cloner) 156 156 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.