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/Infrastructure/Algorithms
Files:
2 edited

Legend:

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

    r15718 r16712  
    3131using HeuristicLab.Parameters;
    3232using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HEAL.Attic;
    3334
    3435namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms {
    3536  [Item("Context-based Algorithm", "Algorithms that make use of contexts to facilitate applying operators.")]
    36   [StorableClass]
     37  [StorableType("F4D85B12-B512-4CC5-B220-69C01E2C8DBB")]
    3738  public abstract class ContextAlgorithm<TContext, TEncoding> : BasicAlgorithm
    3839    where TContext : class, IContext, new()
     
    110111
    111112    [StorableConstructor]
    112     protected ContextAlgorithm(bool deserializing) : base(deserializing) { }
     113    protected ContextAlgorithm(StorableConstructorFlag _) : base(_) { }
    113114    protected ContextAlgorithm(ContextAlgorithm<TContext, TEncoding> original, Cloner cloner)
    114115      : base(original, cloner) {
  • branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Algorithms/StochasticAlgorithm.cs

    r15572 r16712  
    2828using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2929using HeuristicLab.Random;
     30using HEAL.Attic;
    3031
    3132namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms {
    3233  [Item("Stochastic Algorithm", "Stochastic context-based algorithms to facilitate applying operators.")]
    33   [StorableClass]
     34  [StorableType("75B72520-ECBC-42F7-8560-448940825847")]
    3435  public abstract class StochasticAlgorithm<TContext, TEncoding> : ContextAlgorithm<TContext, TEncoding>
    3536    where TContext : class, IStochasticContext, new()
     
    5758
    5859    [StorableConstructor]
    59     protected StochasticAlgorithm(bool deserializing) : base(deserializing) { }
     60    protected StochasticAlgorithm(StorableConstructorFlag _) : base(_) { }
    6061    protected StochasticAlgorithm(StochasticAlgorithm<TContext, TEncoding> original, Cloner cloner)
    6162      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.