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

File:
1 edited

Legend:

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

    r15700 r16728  
    2424using System.Linq;
    2525using System.Threading;
     26using HEAL.Attic;
    2627using HeuristicLab.Common;
    2728using HeuristicLab.Core;
     
    3031using HeuristicLab.Optimization;
    3132using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3333using HeuristicLab.Random;
    3434
    3535namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary {
     36  [StorableType("d568d524-1f84-461c-adf5-573d8e472063")]
    3637  public enum ESSelection { Plus = 0, Comma = 1 }
    3738
    3839  [Item("Evolution Strategy (GQAP)", "The algorithm implements a simple evolution strategy (ES).")]
    3940  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms)]
    40   [StorableClass]
     41  [StorableType("A1590185-F2E3-4163-896E-28EEC93A5CDF")]
    4142  public sealed class EvolutionStrategy : StochasticAlgorithm<ESContext, IntegerVectorEncoding> {
    4243
     
    9394
    9495    [StorableConstructor]
    95     private EvolutionStrategy(bool deserializing) : base(deserializing) { }
     96    private EvolutionStrategy(StorableConstructorFlag _) : base(_) { }
    9697    private EvolutionStrategy(EvolutionStrategy original, Cloner cloner)
    9798      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.