Ignore:
Timestamp:
12/28/18 16:10:48 (2 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.NK/3.3/NKLandscape.cs

    r16453 r16462  
    2828using HeuristicLab.Encodings.BinaryVectorEncoding;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131using HeuristicLab.PluginInfrastructure;
    3232using HeuristicLab.Problems.Binary;
     
    3636  [Item("NK Landscape", "Represents an NK landscape optimization problem.")]
    3737  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 215)]
    38   [StorableClass]
     38  [StorableType("04294537-87F2-4A9F-BC14-7D4CA700F326")]
    3939  public sealed class NKLandscape : BinaryProblem {
    4040    public override bool Maximization {
     
    136136
    137137    [StorableConstructor]
    138     private NKLandscape(bool deserializing) : base(deserializing) { }
     138    private NKLandscape(StorableConstructorFlag _) : base(_) { }
    139139    private NKLandscape(NKLandscape original, Cloner cloner)
    140140      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.