Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.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("Tabu Search (TS)", "A tabu search algorithm.")]
    3838  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 120)]
    39   [StorableClass]
     39  [StorableType("CF028C58-BE6D-4F74-96DD-B1E2CFAD5AA0")]
    4040  public sealed class TabuSearch : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4141    public string Filename { get; set; }
     
    205205    }
    206206    [StorableConstructor]
    207     private TabuSearch(bool deserializing) : base(deserializing) { }
     207    private TabuSearch(StorableConstructorFlag _) : base(_) { }
    208208    [StorableHook(HookType.AfterDeserialization)]
    209209    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.