Changeset 17097 for stable/HeuristicLab.Algorithms.Benchmarks
- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.Benchmarks/3.3/Benchmark.cs
r15584 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. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Optimization; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 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); -
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)); -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/Dhrystone.cs
r15584 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. … … 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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() { } -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/HeuristicLab.Algorithms.Benchmarks-3.3.csproj
r11920 r17097 11 11 <RootNamespace>HeuristicLab.Algorithms.Benchmarks</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Algorithms.Benchmarks-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <TargetFrameworkProfile /> … … 89 89 </PropertyGroup> 90 90 <ItemGroup> 91 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 92 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 93 </Reference> 94 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 95 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath> 96 </Reference> 91 97 <Reference Include="System" /> 92 98 <Reference Include="System.Core" /> 93 99 <Reference Include="System.Data" /> 94 100 <Reference Include="System.Drawing" /> 101 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 102 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 103 </Reference> 95 104 <Reference Include="System.Xml" /> 96 105 </ItemGroup> … … 107 116 <ItemGroup> 108 117 <None Include="HeuristicLab.snk" /> 118 <None Include="packages.config" /> 109 119 <None Include="Plugin.cs.frame" /> 110 120 <None Include="Properties\AssemblyInfo.cs.frame" /> -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/IBenchmark.cs
r15584 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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using HEAL.Attic; 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; } -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/Linpack.cs
r15584 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. … … 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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() { } -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/Plugin.cs.frame
r15587 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. -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/Properties/AssemblyInfo.cs.frame
r15587 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. -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/Whetstone.cs
r15584 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. … … 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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() { } -
stable/HeuristicLab.Algorithms.Benchmarks/3.3/packages.config
r16565 r17097 2 2 <packages> 3 3 <package id="Google.Protobuf" version="3.6.1" targetFramework="net461" /> 4 <package id="HEAL.Attic" version="1.0.0-pre0 1" targetFramework="net461" />4 <package id="HEAL.Attic" version="1.0.0-pre02" targetFramework="net461" /> 5 5 <package id="System.Drawing.Common" version="4.5.1" targetFramework="net461" /> 6 6 </packages>
Note: See TracChangeset
for help on using the changeset viewer.