Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/25/19 17:26:02 (6 years ago)
Author:
gkronber
Message:

#2936: adapted branch to new persistence (works with HL trunk r16711)

Location:
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/GRASP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/GRASP/GRASP.cs

    r16077 r16712  
    3030using HeuristicLab.Parameters;
    3131using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HEAL.Attic;
    3233
    3334namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms {
     
    4142  [Item("GRASP+PR (GQAP)", "The algorithm implements the Greedy Randomized Adaptive Search Procedure (GRASP) with Path Relinking as 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.")]
    4243  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms)]
    43   [StorableClass]
     44  [StorableType("1FF6B7FC-58CA-4F89-BCAF-31CFC0B0546C")]
    4445  public sealed class GRASP : StochasticAlgorithm<GRASPContext, IntegerVectorEncoding> {
    4546
     
    123124
    124125    [StorableConstructor]
    125     private GRASP(bool deserializing) : base(deserializing) { }
     126    private GRASP(StorableConstructorFlag _) : base(_) { }
    126127    private GRASP(GRASP original, Cloner cloner)
    127128      : base(original, cloner) {
  • branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/GRASP/GRASPContext.cs

    r16077 r16712  
    2525using HeuristicLab.Parameters;
    2626using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Attic;
    2728
    2829namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms {
    2930  [Item("GRASP+PR (GQAP) Context", "Context for GRASP+PR (GQAP).")]
    30   [StorableClass]
     31  [StorableType("40C0A979-FFDB-43E0-89A0-6553BD3EB9DB")]
    3132  public sealed class GRASPContext : PopulationContext<ISingleObjectiveSolutionScope<GQAPSolution>> {
    3233   
     
    5051   
    5152    [StorableConstructor]
    52     private GRASPContext(bool deserializing) : base(deserializing) { }
     53    private GRASPContext(StorableConstructorFlag _) : base(_) { }
    5354    private GRASPContext(GRASPContext original, Cloner cloner)
    5455      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.