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.LocalSearch/3.3/LocalSearch.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("Local Search (LS)", "A local search algorithm.")]
    3838  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 100)]
    39   [StorableClass]
     39  [StorableType("399F7E6A-4111-4F91-BB99-EFE721789E27")]
    4040  public sealed class LocalSearch : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4141    public string Filename { get; set; }
     
    125125
    126126    [StorableConstructor]
    127     private LocalSearch(bool deserializing) : base(deserializing) { }
     127    private LocalSearch(StorableConstructorFlag _) : base(_) { }
    128128    [StorableHook(HookType.AfterDeserialization)]
    129129    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.