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.LocalSearch/3.3
Files:
3 edited

Legend:

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

    r14185 r14927  
    3131using HeuristicLab.Optimization.Operators;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HeuristicLab.Persistence;
    3434using HeuristicLab.Random;
    3535
     
    3737  [Item("Local Search (LS)", "A local search algorithm.")]
    3838  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 100)]
    39   [StorableClass]
     39  [StorableType("bccfc42c-901d-4f21-8f70-810b8495adbe")]
    4040  public sealed class LocalSearch : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4141    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchImprovementOperator.cs

    r14185 r14927  
    3030using HeuristicLab.Optimization.Operators;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HeuristicLab.Persistence;
    3333
    3434namespace HeuristicLab.Algorithms.LocalSearch {
     
    3737  /// </summary>
    3838  [Item("LocalSearchImprovementOperator", "A local search improvement operator.")]
    39   [StorableClass]
     39  [StorableType("b3ba47bd-689d-45d0-9bcd-2a7bb2571791")]
    4040  public sealed class LocalSearchImprovementOperator : SingleSuccessorOperator, ILocalImprovementAlgorithmOperator, IStochasticOperator, ISingleObjectiveOperator {
    4141    #region IGenericLocalImprovementOperator Properties
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchMainLoop.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("LocalSearchMainLoop", "An operator which represents the main loop of a best improvement local search (if only a single move is generated in each iteration it is a first improvement local search).")]
    36   [StorableClass]
     36  [StorableType("9ef44505-9777-4f7b-9711-ff0c217e3a2b")]
    3737  public sealed class LocalSearchMainLoop : AlgorithmOperator {
    3838    #region Parameter properties
Note: See TracChangeset for help on using the changeset viewer.