- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.Benchmarks/3.3/BenchmarkAlgorithm.cs
r17062 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 using HeuristicLab.Optimization; 33 33 using HeuristicLab.Parameters; 34 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;34 using HEAL.Attic; 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.