Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/19 14:40:15 (6 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/LocalSearch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LocalSearch/IteratedLS.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.LocalSearch {
    3333  [Item("Iterated Local Search (GQAP)", "Iterated local search for the GQAP.")]
    3434  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms)]
    35   [StorableClass]
     35  [StorableType("2C8EE433-B133-4382-8B4F-4EFFA536D759")]
    3636  public sealed class IteratedLS : StochasticAlgorithm<LocalSearchContext, IntegerVectorEncoding> {
    3737
     
    6161
    6262    [StorableConstructor]
    63     private IteratedLS(bool deserializing) : base(deserializing) { }
     63    private IteratedLS(StorableConstructorFlag _) : base(_) { }
    6464    private IteratedLS(IteratedLS original, Cloner cloner)
    6565      : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LocalSearch/LocalSearchContext.cs

    r15616 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2626
    2727namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.LocalSearch {
    2828  [Item("Local Search Context", "Context for local search algorithms.")]
    29   [StorableClass]
     29  [StorableType("1AD51259-7DDB-43C1-A4A0-9E8B652988B1")]
    3030  public sealed class LocalSearchContext : SingleSolutionContext<ISingleObjectiveSolutionScope<GQAPSolution>> {
    3131    [Storable]
     
    4444   
    4545    [StorableConstructor]
    46     private LocalSearchContext(bool deserializing) : base(deserializing) { }
     46    private LocalSearchContext(StorableConstructorFlag _) : base(_) { }
    4747    private LocalSearchContext(LocalSearchContext original, Cloner cloner)
    4848    : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/LocalSearch/MultistartLS.cs

    r15700 r16728  
    2222using System;
    2323using System.Threading;
     24using HEAL.Attic;
    2425using HeuristicLab.Common;
    2526using HeuristicLab.Core;
     
    2728using HeuristicLab.Encodings.IntegerVectorEncoding;
    2829using HeuristicLab.Optimization;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3030
    3131namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.LocalSearch {
    3232  [Item("Multi-start Local Search (GQAP)", "Multi-start local search for the GQAP.")]
    3333  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms)]
    34   [StorableClass]
     34  [StorableType("DA79118A-BA6B-4A0F-81E6-752D750BF7F4")]
    3535  public sealed class MultistartLS : StochasticAlgorithm<LocalSearchContext, IntegerVectorEncoding> {
    3636
     
    4949
    5050    [StorableConstructor]
    51     private MultistartLS(bool deserializing) : base(deserializing) { }
     51    private MultistartLS(StorableConstructorFlag _) : base(_) { }
    5252    private MultistartLS(MultistartLS original, Cloner cloner)
    5353      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.