Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 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
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Crossovers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Crossovers/DirectScheduleCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding {
    2828  [Item("DirectScheduleCrossover", "An operator which crosses two schedule representations.")]
    29   [StorableClass]
     29  [StorableType("841CA966-FDB0-4C0D-BBE2-6A3422DF94CD")]
    3030  public abstract class DirectScheduleCrossover : ScheduleCrossover, IDirectScheduleOperator {
    3131    [StorableConstructor]
    32     protected DirectScheduleCrossover(bool deserializing) : base(deserializing) { }
     32    protected DirectScheduleCrossover(StorableConstructorFlag _) : base(_) { }
    3333    protected DirectScheduleCrossover(DirectScheduleCrossover original, Cloner cloner) : base(original, cloner) { }
    3434    public DirectScheduleCrossover()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Crossovers/DirectScheduleGTCrossover.cs

    r16453 r16462  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding {
    2929  [Item("DirectScheduleGTCrossover", "Represents a crossover using the GT-Algorithm to cross two direct schedule representations.")]
    30   [StorableClass]
     30  [StorableType("07921864-BC23-431D-BA28-B302691F7FF8")]
    3131  public class DirectScheduleGTCrossover : DirectScheduleCrossover {
    3232
     
    3636
    3737    [StorableConstructor]
    38     protected DirectScheduleGTCrossover(bool deserializing) : base(deserializing) { }
     38    protected DirectScheduleGTCrossover(StorableConstructorFlag _) : base(_) { }
    3939    protected DirectScheduleGTCrossover(DirectScheduleGTCrossover original, Cloner cloner) : base(original, cloner) { }
    4040    public DirectScheduleGTCrossover()
Note: See TracChangeset for help on using the changeset viewer.