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.Binary/3.3/DeceptiveTrapProblem.cs

    r16453 r16462  
    2828using HeuristicLab.Encodings.BinaryVectorEncoding;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131
    3232namespace HeuristicLab.Problems.Binary {
    3333  [Item("Deceptive Trap Problem", "Genome encodes completely separable blocks, where each block is fully deceptive.")]
    34   [StorableClass]
     34  [StorableType("399FFE01-2B76-4DBF-B363-8BB65FE95A5D")]
    3535  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 230)]
    3636  public class DeceptiveTrapProblem : BinaryProblem {
    3737    [StorableConstructor]
    38     protected DeceptiveTrapProblem(bool deserializing) : base(deserializing) { }
     38    protected DeceptiveTrapProblem(StorableConstructorFlag _) : base(_) { }
    3939    protected DeceptiveTrapProblem(DeceptiveTrapProblem original, Cloner cloner)
    4040      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.