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/KnapsackSimultaneousPathRelinker.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("KnapsackSimultaneousPathRelinker", "An operator that relinks paths between knapsack solutions starting from both ends. The operator incrementally assimilates the initiating solution into the guiding solution and vice versa by adding and removing elements as needed.")]
    40   [StorableClass]
     40  [StorableType("8D046D17-BA0F-4974-AF76-95B3F90FB7A4")]
    4141  public sealed class KnapsackSimultaneousPathRelinker : SingleObjectivePathRelinker {
    4242    [StorableConstructor]
    43     private KnapsackSimultaneousPathRelinker(bool deserializing) : base(deserializing) { }
     43    private KnapsackSimultaneousPathRelinker(StorableConstructorFlag _) : base(_) { }
    4444    private KnapsackSimultaneousPathRelinker(KnapsackSimultaneousPathRelinker original, Cloner cloner) : base(original, cloner) { }
    4545    public KnapsackSimultaneousPathRelinker() : base() { }
Note: See TracChangeset for help on using the changeset viewer.