- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/Benchmark.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 30 30 namespace HeuristicLab.Algorithms.Benchmarks { 31 31 [Item("Benchmark", "Base class for benchmarks.")] 32 [Storable Class]32 [StorableType("0715912F-4F40-40F6-AC08-677CC4F76819")] 33 33 public abstract class Benchmark : IBenchmark { 34 34 public virtual string ItemName { … … 63 63 64 64 [StorableConstructor] 65 protected Benchmark( bool deserializing) { }65 protected Benchmark(StorableConstructorFlag _) { } 66 66 protected Benchmark(Benchmark original, Cloner cloner) { 67 67 cloner.RegisterClonedObject(original, this); -
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)); -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/Dhrystone.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.Benchmarks { 32 32 [Item("Dhrystone", "Dhrystone performance benchmark.")] 33 [Storable Class]33 [StorableType("277F595A-4309-4FA6-9C9D-CD0A140D7BAB")] 34 34 public sealed class Dhrystone : Benchmark { 35 35 private const int Ident_1 = 0; … … 57 57 58 58 [StorableConstructor] 59 private Dhrystone( bool deserializing) : base(deserializing) { }59 private Dhrystone(StorableConstructorFlag _) : base(_) { } 60 60 private Dhrystone(Dhrystone original, Cloner cloner) : base(original, cloner) { } 61 61 public Dhrystone() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/HeuristicLab.Algorithms.Benchmarks-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.Algorithms.Benchmarks/3.3/IBenchmark.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using HEAL.Fossil; 26 27 27 28 namespace HeuristicLab.Algorithms.Benchmarks { 29 [StorableType("FFCF9EC9-35CE-43C2-85CF-F90CEA6058BC")] 28 30 public interface IBenchmark : IItem { 29 31 byte[][] ChunkData { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/Linpack.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.Benchmarks { 32 32 [Item("Linpack", "Linpack performance benchmark.")] 33 [Storable Class]33 [StorableType("A480970C-E954-45F6-AFDE-BD99054E1BF7")] 34 34 public sealed class Linpack : Benchmark { 35 35 private const int DEFAULT_PSIZE = 1500; … … 45 45 46 46 [StorableConstructor] 47 private Linpack( bool deserializing) : base(deserializing) { }47 private Linpack(StorableConstructorFlag _) : base(_) { } 48 48 private Linpack(Linpack original, Cloner cloner) : base(original, cloner) { } 49 49 public Linpack() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.Benchmarks/3.3/Whetstone.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.Benchmarks { 32 32 [Item("Whetstone", "Whetstone performance benchmark.")] 33 [Storable Class]33 [StorableType("95D2274E-EFC7-444C-B5CF-F087B0A3C027")] 34 34 public sealed class Whetstone : Benchmark { 35 35 private long begin_time; … … 45 45 46 46 [StorableConstructor] 47 private Whetstone( bool deserializing) : base(deserializing) { }47 private Whetstone(StorableConstructorFlag _) : base(_) { } 48 48 private Whetstone(Whetstone original, Cloner cloner) : base(original, cloner) { } 49 49 public Whetstone() { }
Note: See TracChangeset
for help on using the changeset viewer.