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/KnapsackSolution.cs

    r16453 r16462  
    2626using HeuristicLab.Data;
    2727using HeuristicLab.Encodings.BinaryVectorEncoding;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Problems.Knapsack {
     
    3333  /// </summary>
    3434  [Item("KnapsackSolution", "Represents a Knapsack solution which can be visualized in the GUI.")]
    35   [StorableClass]
     35  [StorableType("C959079D-3D92-4C88-8734-9DADEE851169")]
    3636  public class KnapsackSolution : Item {
    3737    public static new Image StaticItemImage {
     
    110110
    111111    [StorableConstructor]
    112     protected KnapsackSolution(bool deserializing) : base(deserializing) { }
     112    protected KnapsackSolution(StorableConstructorFlag _) : base(_) { }
    113113    protected KnapsackSolution(KnapsackSolution original, Cloner cloner)
    114114      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.