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.Clients.OKB/3.3/RunCreation/MultiObjectiveOKBProblem.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Clients.OKB.RunCreation {
    2929  [Item("OKB Problem (multi-objective)", "Represents a multi-objective problem which is stored in the OKB.")]
    3030  [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 120)]
    31   [StorableClass]
     31  [StorableType("BB74E220-F721-4129-9A50-374647B16B97")]
    3232  public sealed class MultiObjectiveOKBProblem : OKBProblem, IMultiObjectiveHeuristicOptimizationProblem, IStorableContent {
    3333    public string Filename { get; set; }
     
    4747
    4848    [StorableConstructor]
    49     private MultiObjectiveOKBProblem(bool deserializing) : base(deserializing) { }
     49    private MultiObjectiveOKBProblem(StorableConstructorFlag _) : base(_) { }
    5050    private MultiObjectiveOKBProblem(MultiObjectiveOKBProblem original, Cloner cloner) : base(original, cloner) { }
    5151    public MultiObjectiveOKBProblem() : base(new EmptyMultiObjectiveProblem("No problem selected. Please choose a multi-objective problem instance from the OKB.")) { }
Note: See TracChangeset for help on using the changeset viewer.