Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/28/19 17:19:09 (6 years ago)
Author:
abeham
Message:

#2521:

  • Adapt Encodings.ScheduleEncoding to new persistence
  • Adapt Problems.Programmable to new persistence
Location:
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/Decoder/PWRDecoder.cs

    r13469 r16725  
    2020#endregion
    2121
    22 using System;
     22using HEAL.Attic;
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2625
    2726namespace HeuristicLab.Encodings.ScheduleEncoding {
    2827  [Item("PWRDecoder", "An item used to convert a PWR-individual into a generalized schedule.")]
    29   [StorableClass]
     28  [StorableType("60D171BE-9704-40E1-9C63-0E56D95403CD")]
    3029  public class PWRDecoder : ScheduleDecoder<PWREncoding> {
    3130    [StorableConstructor]
    32     protected PWRDecoder(bool deserializing) : base(deserializing) { }
     31    protected PWRDecoder(StorableConstructorFlag _) : base(_) { }
    3332    protected PWRDecoder(PWRDecoder original, Cloner cloner) : base(original, cloner) { }
    3433    public PWRDecoder() : base() { }
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PermutationWithRepetitionEncoding.cs

    r13443 r16725  
    2525using System.Collections.Generic;
    2626using System.Linq;
     27using HEAL.Attic;
    2728using HeuristicLab.Common;
    2829using HeuristicLab.Core;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3030using HeuristicLab.PluginInfrastructure;
    3131
    3232namespace HeuristicLab.Encodings.ScheduleEncoding {
    33   [StorableClass]
     33  [StorableType("468EF506-0749-469B-B9B9-36655AA0178D")]
    3434  public sealed class PermutationWithRepetitionEncoding : ScheduleEncoding<PWREncoding> {
    3535    [StorableConstructor]
    36     private PermutationWithRepetitionEncoding(bool deserializing) : base(deserializing) { }
     36    private PermutationWithRepetitionEncoding(StorableConstructorFlag _) : base(_) { }
    3737    private PermutationWithRepetitionEncoding(PermutationWithRepetitionEncoding original, Cloner cloner) : base(original, cloner) { }
    3838    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.