Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 13:41:42 (6 years ago)
Author:
gkronber
Message:

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Problems.BinPacking

  • trunk/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/BottomLeftIntegerVectorDecoder.cs

    r15583 r16565  
    2020#endregion
    2121
    22 using System.Linq;
    2322using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     23using HEAL.Attic;
    2524using HeuristicLab.Common;
    2625using System.Collections.Generic;
    27 using HeuristicLab.Encodings.IntegerVectorEncoding;
    2826
    2927namespace HeuristicLab.Problems.BinPacking2D {
    3028  [Item("Bottom-left IntegerVector Decoder (2d)", "Decodes the integer vector and creates a packing solution candidate")]
    31   [StorableClass]
     29  [StorableType("27643FED-BADA-48BF-8A71-38C35D160961")]
    3230  public class BottomLeftIntegerVectorDecoder : IntegerVectorDecoderBase {
    3331
    3432    [StorableConstructor]
    35     protected BottomLeftIntegerVectorDecoder(bool deserializing) : base(deserializing) { }
     33    protected BottomLeftIntegerVectorDecoder(StorableConstructorFlag _) : base(_) { }
    3634    protected BottomLeftIntegerVectorDecoder(BottomLeftIntegerVectorDecoder original, Cloner cloner)
    3735      : base(original, cloner) {
  • trunk/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/ExtremePointIntegerVectorDecoder.cs

    r15583 r16565  
    2121
    2222using HeuristicLab.Core;
    23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     23using HEAL.Attic;
    2424using HeuristicLab.Common;
    2525using System.Collections.Generic;
    26 using System.Linq;
    27 using HeuristicLab.Encodings.IntegerVectorEncoding;
    2826
    2927namespace HeuristicLab.Problems.BinPacking2D {
    3028  [Item("Extreme-point IntegerVector Decoder (2d)", "Decodes the integer vector and creates a packing solution candidate")]
    31   [StorableClass]
     29  [StorableType("D40DEE7A-4AAC-47DA-9FA8-12D3C09177A7")]
    3230  public class ExtremePointIntegerVectorDecoder : IntegerVectorDecoderBase {
    3331
    3432    [StorableConstructor]
    35     protected ExtremePointIntegerVectorDecoder(bool deserializing) : base(deserializing) { }
     33    protected ExtremePointIntegerVectorDecoder(StorableConstructorFlag _) : base(_) { }
    3634    protected ExtremePointIntegerVectorDecoder(ExtremePointIntegerVectorDecoder original, Cloner cloner)
    3735      : base(original, cloner) {
  • trunk/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/IntegerVectorDecoderBase.cs

    r15583 r16565  
    2121
    2222using HeuristicLab.Core;
    23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     23using HEAL.Attic;
    2424using HeuristicLab.Common;
    2525using System.Collections.Generic;
     
    2828
    2929namespace HeuristicLab.Problems.BinPacking2D {
    30   [StorableClass]
     30  [StorableType("63588140-31BB-402A-BEEE-B11C8809A585")]
    3131  public abstract class IntegerVectorDecoderBase : Item, IDecoder<IntegerVector> {
    3232
    3333    [StorableConstructor]
    34     protected IntegerVectorDecoderBase(bool deserializing) : base(deserializing) { }
     34    protected IntegerVectorDecoderBase(StorableConstructorFlag _) : base(_) { }
    3535    protected IntegerVectorDecoderBase(IntegerVectorDecoderBase original, Cloner cloner)
    3636      : base(original, cloner) {
  • trunk/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/IntegerVectorProblem.cs

    r15583 r16565  
    22
    33/* HeuristicLab
    4  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    55 *
    66 * This file is part of HeuristicLab.
     
    3030using HeuristicLab.Optimization;
    3131using HeuristicLab.Optimization.Operators;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HEAL.Attic;
    3333
    3434namespace HeuristicLab.Problems.BinPacking2D {
    3535  [Item("Bin Packing Problem (2D, integer vector encoding) (BPP)", "Represents a two-dimensional bin-packing problem using only bins with identical measures and bins/items with rectangular shapes.")]
    36   [StorableClass]
     36  [StorableType("0928004F-FB4B-4516-9FAE-B44D2F39413B")]
    3737  [Creatable(Category = CreatableAttribute.Categories.CombinatorialProblems, Priority = 310)]
    3838  public sealed class IntegerVectorProblem : ProblemBase<IntegerVectorEncoding, IntegerVector> {
    3939    // persistence
    4040    [StorableConstructor]
    41     private IntegerVectorProblem(bool deserializing) : base(deserializing) { }
     41    private IntegerVectorProblem(StorableConstructorFlag _) : base(_) { }
    4242
    4343    // cloning
Note: See TracChangeset for help on using the changeset viewer.