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.Problems.Scheduling/3.3/Analyzers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.Scheduling/3.3/Analyzers/BestSchedulingSolutionAnalyzer.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Problems.Scheduling {
    3232
    3333  [Item("BestSchedulingSolutionAnalyzer", "An operator for analyzing the best solution of Scheduling Problems given in schedule-representation.")]
    34   [StorableClass]
     34  [StorableType("FD6D4A80-1965-48FD-8D4C-E780BC2F8048")]
    3535  public sealed class BestSchedulingSolutionAnalyzer : SchedulingAnalyzer, IStochasticOperator {
    3636    [StorableConstructor]
    37     private BestSchedulingSolutionAnalyzer(bool deserializing) : base(deserializing) { }
     37    private BestSchedulingSolutionAnalyzer(StorableConstructorFlag _) : base(_) { }
    3838    private BestSchedulingSolutionAnalyzer(BestSchedulingSolutionAnalyzer original, Cloner cloner)
    3939      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.Scheduling/3.3/Analyzers/SchedulingAnalyzer.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Problems.Scheduling {
    3232  [Item("SchedulingAnalyzer", "Represents the generalized form of Analyzers for Scheduling Problems.")]
    33   [StorableClass]
     33  [StorableType("59C3972B-1051-4CEE-A41C-B7AE0D05A3AC")]
    3434  public abstract class SchedulingAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator {
    3535    public virtual bool EnabledByDefault {
     
    3838
    3939    [StorableConstructor]
    40     protected SchedulingAnalyzer(bool deserializing) : base(deserializing) { }
     40    protected SchedulingAnalyzer(StorableConstructorFlag _) : base(_) { }
    4141    protected SchedulingAnalyzer(SchedulingAnalyzer original, Cloner cloner)
    4242      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.