Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/19 14:40:15 (5 years ago)
Author:
abeham
Message:

#1614: updated to new persistence and .NET 4.6.1

Location:
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LAHC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LAHC/LAHC.cs

    r15700 r16728  
    2323using System.Linq;
    2424using System.Threading;
     25using HEAL.Attic;
    2526using HeuristicLab.Common;
    2627using HeuristicLab.Core;
     
    2930using HeuristicLab.Optimization;
    3031using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3232
    3333namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.LAHC {
    3434  [Item("LAHC (GQAP)", "Late-acceptance hill climber for the GQAP.")]
    3535  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms)]
    36   [StorableClass]
     36  [StorableType("41FABEE1-506A-45FE-A6D3-57932036AEC8")]
    3737  public sealed class LAHC : StochasticAlgorithm<LAHCContext, IntegerVectorEncoding> {
    3838
     
    6262
    6363    [StorableConstructor]
    64     private LAHC(bool deserializing) : base(deserializing) { }
     64    private LAHC(StorableConstructorFlag _) : base(_) { }
    6565    private LAHC(LAHC original, Cloner cloner)
    6666      : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LAHC/LAHCContext.cs

    r15616 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Data;
    2526using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2727
    2828namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.LAHC {
    2929  [Item("LAHC Context", "Context for late-acceptance hill climber")]
    30   [StorableClass]
     30  [StorableType("546B6C06-D986-49AA-BDEB-B664D2A9DA8C")]
    3131  public sealed class LAHCContext : SingleSolutionContext<ISingleObjectiveSolutionScope<GQAPSolution>> {
    3232    [Storable]
     
    5959   
    6060    [StorableConstructor]
    61     private LAHCContext(bool deserializing) : base(deserializing) { }
     61    private LAHCContext(StorableConstructorFlag _) : base(_) { }
    6262    private LAHCContext(LAHCContext original, Cloner cloner)
    6363    : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LAHC/pLAHC.cs

    r15700 r16728  
    2222using System;
    2323using System.Threading;
     24using HEAL.Attic;
    2425using HeuristicLab.Common;
    2526using HeuristicLab.Core;
     
    2829using HeuristicLab.Optimization;
    2930using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3131
    3232namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.LAHC {
    3333  [Item("pLAHC-s (GQAP)", "Parameterless Late-acceptance hill climber for the GQAP.")]
    3434  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms)]
    35   [StorableClass]
     35  [StorableType("90A97927-D784-4F73-9215-ADC75A9F6C9D")]
    3636  public sealed class PLAHCS : StochasticAlgorithm<PLAHCContext, IntegerVectorEncoding> {
    3737
     
    7272
    7373    [StorableConstructor]
    74     private PLAHCS(bool deserializing) : base(deserializing) { }
     74    private PLAHCS(StorableConstructorFlag _) : base(_) { }
    7575    private PLAHCS(PLAHCS original, Cloner cloner)
    7676      : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LAHC/pLAHCContext.cs

    r15616 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Data;
    2526using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2727
    2828namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.LAHC {
    2929  [Item("pLAHC-s Context", "Context for parameterless late-acceptance hill climber with seeding.")]
    30   [StorableClass]
     30  [StorableType("3C550AB5-8FEC-42DA-9200-ABC98A1C20EA")]
    3131  public sealed class PLAHCContext : SingleSolutionContext<ISingleObjectiveSolutionScope<GQAPSolution>> {
    3232    [Storable]
     
    7373   
    7474    [StorableConstructor]
    75     private PLAHCContext(bool deserializing) : base(deserializing) { }
     75    private PLAHCContext(StorableConstructorFlag _) : base(_) { }
    7676    private PLAHCContext(PLAHCContext original, Cloner cloner)
    7777    : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.