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.GeneticProgramming/3.3/LawnMower/Problem.cs

    r16453 r16462  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131using HeuristicLab.Random;
    3232
    3333namespace HeuristicLab.Problems.GeneticProgramming.LawnMower {
    34   [StorableClass]
     34  [StorableType("3F72F63C-CBEB-43BD-ADC0-B3F0AD58331B")]
    3535  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 160)]
    3636  [Item("Lawn Mower Problem", "The lawn mower demo problem for genetic programming.")]
     
    5252    #region item cloning and persistence
    5353    [StorableConstructor]
    54     protected Problem(bool deserializing) : base(deserializing) { }
     54    protected Problem(StorableConstructorFlag _) : base(_) { }
    5555    [StorableHook(HookType.AfterDeserialization)]
    5656    private void AfterDeserialization() { }
Note: See TracChangeset for help on using the changeset viewer.