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
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment

  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/GQAPSolutionCreator.cs

    r15504 r16728  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
     
    2627using HeuristicLab.Operators;
    2728using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Attic;
    2930
    3031namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment {
    3132  [Item("GQAPSolutionCreator", "Base class for solution creators of the Generalized Quadratic Assignment Problem.")]
    32   [StorableClass]
     33  [StorableType("1FD56558-5E7C-470C-8E7C-B3CEF7DB1D61")]
    3334  public abstract class GQAPSolutionCreator : SingleSuccessorOperator, IProblemInstanceAwareGQAPOperator, IGQAPSolutionCreator {
    3435
     
    5152
    5253    [StorableConstructor]
    53     protected GQAPSolutionCreator(bool deserializing) : base(deserializing) { }
     54    protected GQAPSolutionCreator(StorableConstructorFlag _) : base(_) { }
    5455    protected GQAPSolutionCreator(GQAPSolutionCreator original, Cloner cloner)
    5556      : base(original, cloner) { }
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/GQAPStochasticSolutionCreator.cs

    r15504 r16728  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2626using HeuristicLab.Parameters;
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2829
    2930namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment {
    3031  [Item("GQAPStochasticSolutionCreator", "Base class for stochastic solution creators of the Generalized Quadratic Assignment Problem.")]
    31   [StorableClass]
     32  [StorableType("D7789768-032F-4EAB-ADED-FF4DD5A23B99")]
    3233  public abstract class GQAPStochasticSolutionCreator : GQAPSolutionCreator, IStochasticOperator {
    3334
     
    3738
    3839    [StorableConstructor]
    39     protected GQAPStochasticSolutionCreator(bool deserializing) : base(deserializing) { }
     40    protected GQAPStochasticSolutionCreator(StorableConstructorFlag _) : base(_) { }
    4041    protected GQAPStochasticSolutionCreator(GQAPStochasticSolutionCreator original, Cloner cloner)
    4142      : base(original, cloner) { }
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/GreedyRandomizedSolutionCreator.cs

    r15558 r16728  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3131using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3232using HeuristicLab.Random;
     33using HEAL.Attic;
    3334
    3435namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment {
     
    3738  /// </summary>
    3839  [Item("GreedyRandomizedSolutionCreator", "Creates a solution according to the procedure described in Mateus, G., Resende, M., and Silva, R. 2011. GRASP with path-relinking for the generalized quadratic assignment problem. Journal of Heuristics 17, Springer Netherlands, pp. 527-565.")]
    39   [StorableClass]
     40  [StorableType("44919EFC-AF47-4F0D-8EE4-F5AECBF776CA")]
    4041  public class GreedyRandomizedSolutionCreator : GQAPStochasticSolutionCreator {
    4142
     
    4849
    4950    [StorableConstructor]
    50     protected GreedyRandomizedSolutionCreator(bool deserializing) : base(deserializing) { }
     51    protected GreedyRandomizedSolutionCreator(StorableConstructorFlag _) : base(_) { }
    5152    protected GreedyRandomizedSolutionCreator(GreedyRandomizedSolutionCreator original, Cloner cloner)
    5253      : base(original, cloner) { }
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/RandomButFeasibleSolutionCreator.cs

    r15555 r16728  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3131using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3232using HeuristicLab.Random;
     33using HEAL.Attic;
    3334
    3435namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment {
    3536  [Item("RandomButFeasibleSolutionCreator", "Creates a random, but feasible solution to the Generalized Quadratic Assignment Problem.")]
    36   [StorableClass]
     37  [StorableType("3C194DAF-81A9-4FA3-AE7F-45951FC33DE1")]
    3738  public class RandomFeasibleSolutionCreator : GQAPStochasticSolutionCreator {
    3839
     
    4546
    4647    [StorableConstructor]
    47     protected RandomFeasibleSolutionCreator(bool deserializing) : base(deserializing) { }
     48    protected RandomFeasibleSolutionCreator(StorableConstructorFlag _) : base(_) { }
    4849    protected RandomFeasibleSolutionCreator(RandomFeasibleSolutionCreator original, Cloner cloner) : base(original, cloner) { }
    4950    public RandomFeasibleSolutionCreator()
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/SlackMinimizationSolutionCreator.cs

    r15555 r16728  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3131using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3232using HeuristicLab.Random;
     33using HEAL.Attic;
    3334
    3435namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment {
    3536  [Item("SlackMinimizationSolutionCreator", "A heuristic that creates a solution to the Generalized Quadratic Assignment Problem by minimizing the amount of slack.")]
    36   [StorableClass]
     37  [StorableType("02676A57-A686-4FDB-B912-B3792C749669")]
    3738  public class SlackMinimizationSolutionCreator : GQAPStochasticSolutionCreator {
    3839
     
    5152
    5253    [StorableConstructor]
    53     protected SlackMinimizationSolutionCreator(bool deserializing) : base(deserializing) { }
     54    protected SlackMinimizationSolutionCreator(StorableConstructorFlag _) : base(_) { }
    5455    protected SlackMinimizationSolutionCreator(SlackMinimizationSolutionCreator original, Cloner cloner) : base(original, cloner) { }
    5556    public SlackMinimizationSolutionCreator()
Note: See TracChangeset for help on using the changeset viewer.