Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RandomSearch/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RandomSearch/3.3/HeuristicLab.Algorithms.RandomSearch-3.3.csproj

    r16454 r16462  
    7676      <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath>
    7777    </Reference>
    78     <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
     78    <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    7979      <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath>
    8080    </Reference>
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RandomSearch/3.3/RandomSearchAlgorithm.cs

    r16453 r16462  
    3131using HeuristicLab.Optimization.Operators;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HEAL.Fossil;
    3434using HeuristicLab.Random;
    3535
     
    3737  [Item("Random Search Algorithm (RS)", "A random search algorithm.")]
    3838  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 150)]
    39   [StorableClass]
     39  [StorableType("51EFBCCE-00A7-4E97-8177-85774E71E681")]
    4040  public sealed class RandomSearchAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4141    public string Filename { get; set; }
     
    128128    #region Constructors
    129129    [StorableConstructor]
    130     private RandomSearchAlgorithm(bool deserializing)
    131       : base(deserializing) { }
     130    private RandomSearchAlgorithm(StorableConstructorFlag _) : base(_) { }
    132131    [StorableHook(HookType.AfterDeserialization)]
    133132    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.