Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/BenchmarkAlgorithm.cs
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/BenchmarkAlgorithm.cs
r16453 r16462 32 32 using HeuristicLab.Optimization; 33 33 using HeuristicLab.Parameters; 34 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;34 using HEAL.Fossil; 35 35 using HeuristicLab.PluginInfrastructure; 36 36 … … 38 38 [Item("Benchmark Algorithm", "An algorithm to execute performance benchmarks (Linpack, Dhrystone, Whetstone, etc.).")] 39 39 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 130)] 40 [Storable Class]40 [StorableType("8E76490C-E5DA-4F09-8E94-10009FC4124D")] 41 41 public sealed class BenchmarkAlgorithm : IAlgorithm, IStorableContent { 42 42 private CancellationTokenSource cancellationTokenSource; … … 217 217 #region Constructors 218 218 [StorableConstructor] 219 private BenchmarkAlgorithm( bool deserializing) { }219 private BenchmarkAlgorithm(StorableConstructorFlag _) { } 220 220 private BenchmarkAlgorithm(BenchmarkAlgorithm original, Cloner cloner) { 221 221 if (original.ExecutionState == ExecutionState.Started) throw new InvalidOperationException(string.Format("Clone not allowed in execution state \"{0}\".", ExecutionState));
Note: See TracChangeset
for help on using the changeset viewer.