Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Algorithms.GeneticAlgorithm/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs

    r14185 r14927  
    3030using HeuristicLab.Optimization.Operators;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HeuristicLab.Persistence;
    3333using HeuristicLab.PluginInfrastructure;
    3434using HeuristicLab.Random;
     
    4040  [Item("Genetic Algorithm (GA)", "A genetic algorithm.")]
    4141  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 100)]
    42   [StorableClass]
     42  [StorableType("2bcb6459-c56f-498d-b942-882c9672eb66")]
    4343  public sealed class GeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4444    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithmMainLoop.cs

    r14185 r14927  
    2626using HeuristicLab.Optimization.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929using HeuristicLab.Selection;
    3030
     
    3434  /// </summary>
    3535  [Item("GeneticAlgorithmMainLoop", "An operator which represents the main loop of a genetic algorithm.")]
    36   [StorableClass]
     36  [StorableType("74e60faf-9f48-4041-a371-ada1be32c17e")]
    3737  public sealed class GeneticAlgorithmMainLoop : AlgorithmOperator {
    3838    #region Parameter properties
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs

    r14185 r14927  
    3030using HeuristicLab.Optimization.Operators;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HeuristicLab.Persistence;
    3333using HeuristicLab.PluginInfrastructure;
    3434using HeuristicLab.Random;
     
    4040  [Item("Island Genetic Algorithm (Island-GA)", "An island genetic algorithm.")]
    4141  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 110)]
    42   [StorableClass]
     42  [StorableType("d3064a3f-1a84-4cb1-bf4c-df95aa3ba376")]
    4343  public sealed class IslandGeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4444    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithmMainLoop.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization.Operators;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030using HeuristicLab.Selection;
    3131
     
    3535  /// </summary>
    3636  [Item("IslandGeneticAlgorithmMainLoop", "An island genetic algorithm main loop operator.")]
    37   [StorableClass]
     37  [StorableType("f2687b26-6050-473a-b1ce-5e110fa27923")]
    3838  public sealed class IslandGeneticAlgorithmMainLoop : AlgorithmOperator {
    3939    #region Parameter Properties
Note: See TracChangeset for help on using the changeset viewer.