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.NSGA2/3.3
Files:
2 edited

Legend:

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

    r14227 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("NSGA-II", "The Nondominated Sorting Genetic Algorithm II was introduced in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")]
    4141  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 135)]
    42   [StorableClass]
     42  [StorableType("411731ad-ddf0-4804-831a-581a8f35f6c9")]
    4343  public class NSGA2 : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4444    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2MainLoop.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("NSGA2MainLoop", "An operator which represents the main loop of the NSGA-II algorithm.")]
    36   [StorableClass]
     36  [StorableType("bf6daf76-2df2-453e-b783-cc996626ca0d")]
    3737  public class NSGA2MainLoop : AlgorithmOperator {
    3838    #region Parameter properties
Note: See TracChangeset for help on using the changeset viewer.