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/Evolutionary
Files:
5 edited

Legend:

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

    r15572 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.Evolutionary {
    2828  [Item("Evolution Strategy (GQAP) Context", "Context for Evolution Strategies (GQAP).")]
    29   [StorableClass]
     29  [StorableType("8A811131-337D-4CF6-A938-FFA08BF50B40")]
    3030  public sealed class ESContext : PopulationContext<ISingleObjectiveSolutionScope<ESGQAPSolution>> {
    3131   
     
    5252   
    5353    [StorableConstructor]
    54     private ESContext(bool deserializing) : base(deserializing) { }
     54    private ESContext(StorableConstructorFlag _) : base(_) { }
    5555    private ESContext(ESContext original, Cloner cloner)
    5656      : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/ESGQAPSolution.cs

    r15616 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Data;
    2526using HeuristicLab.Encodings.IntegerVectorEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2727
    2828namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary {
    2929  [Item("ES-specific GQAP Solution", "GQAP Solution that holds a strategy parameter")]
    30   [StorableClass]
     30  [StorableType("00A9856C-5E25-4F12-B3B0-6A9FF855B8A9")]
    3131  public class ESGQAPSolution : GQAPSolution {
    3232
     
    4343
    4444    [StorableConstructor]
    45     protected ESGQAPSolution(bool deserializing) : base(deserializing) { }
     45    protected ESGQAPSolution(StorableConstructorFlag _) : base(_) { }
    4646    protected ESGQAPSolution(ESGQAPSolution original, Cloner cloner)
    4747    : base(original, cloner) {
  • 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) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/OSGA.cs

    r15700 r16728  
    2323using System.Linq;
    2424using System.Threading;
     25using HEAL.Attic;
    2526using HeuristicLab.Common;
    2627using HeuristicLab.Core;
     
    2930using HeuristicLab.Optimization;
    3031using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3232
    3333namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary {
    3434  [Item("OSGA (GQAP)", "The algorithm implements a strict offspring selection genetic algorithm (OSGA).")]
    3535  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms)]
    36   [StorableClass]
     36  [StorableType("3BCF54DD-CECB-4027-AF2F-1764E6318B78")]
    3737  public sealed class OSGA : StochasticAlgorithm<OSGAContext, IntegerVectorEncoding> {
    3838
     
    7171
    7272    [StorableConstructor]
    73     private OSGA(bool deserializing) : base(deserializing) { }
     73    private OSGA(StorableConstructorFlag _) : base(_) { }
    7474    private OSGA(OSGA original, Cloner cloner)
    7575      : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/OSGAContext.cs

    r15572 r16728  
    2121
    2222using System.Linq;
     23using HEAL.Attic;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Core;
    2526using HeuristicLab.Data;
    2627using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2828
    2929namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary {
    3030  [Item("OSGA (GQAP) Context", "Context for OSGA (GQAP).")]
    31   [StorableClass]
     31  [StorableType("65ADDF53-91A6-4C8C-9DDE-B330E87AB32B")]
    3232  public sealed class OSGAContext : PopulationContext<ISingleObjectiveSolutionScope<GQAPSolution>> {
    3333   
     
    7272   
    7373    [StorableConstructor]
    74     private OSGAContext(bool deserializing) : base(deserializing) { }
     74    private OSGAContext(StorableConstructorFlag _) : base(_) { }
    7575    private OSGAContext(OSGAContext original, Cloner cloner)
    7676      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.