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.Problems.Knapsack/3.3/PathRelinkers/KnapsackPathRelinker.cs

    r16453 r16462  
    2828using HeuristicLab.Encodings.BinaryVectorEncoding;
    2929using HeuristicLab.Optimization.Operators;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131
    3232namespace HeuristicLab.Problems.Knapsack {
     
    3838  /// </remarks>
    3939  [Item("KnapsackPathRelinker", "An operator that relinks paths between knapsack solutions. The operator incrementally assimilates the initiating solution into the guiding solution by adding and removing elements as needed.")]
    40   [StorableClass]
     40  [StorableType("3A528AB4-5552-4979-B443-2943A3496BC3")]
    4141  public sealed class KnapsackPathRelinker : SingleObjectivePathRelinker {
    4242    [StorableConstructor]
    43     private KnapsackPathRelinker(bool deserializing) : base(deserializing) { }
     43    private KnapsackPathRelinker(StorableConstructorFlag _) : base(_) { }
    4444    private KnapsackPathRelinker(KnapsackPathRelinker original, Cloner cloner) : base(original, cloner) { }
    4545    public KnapsackPathRelinker() : base() { }
Note: See TracChangeset for help on using the changeset viewer.