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.TabuSearch/3.3
Files:
5 edited

Legend:

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

    r14185 r14927  
    2424using HeuristicLab.Operators;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Algorithms.TabuSearch {
    2929  [Item("TabuListCreator", "An operator that creates a new empty tabu list. It can also replace an existing tabu list with a new empty one.")]
    30   [StorableClass]
     30  [StorableType("0413a62f-1af8-43dc-88f4-080788531e58")]
    3131  public class TabuListCreator : SingleSuccessorOperator {
    3232    public ValueLookupParameter<ItemList<IItem>> TabuListParameter {
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuNeighborhoodAnalyzer.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Algorithms.TabuSearch {
    32   [StorableClass]
     32  [StorableType("68550876-e018-475b-bb66-faf74b3f3d3e")]
    3333  [Item("TabuNeighborhoodAnalyzer", "Analyzes the tabu neighborhood")]
    3434  public class TabuNeighborhoodAnalyzer : SingleSuccessorOperator, IAnalyzer {
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.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("Tabu Search (TS)", "A tabu search algorithm.")]
    3838  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 120)]
    39   [StorableClass]
     39  [StorableType("5b1d6750-44df-41ed-9191-5da1e9b7b7d6")]
    4040  public sealed class TabuSearch : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4141    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearchMainLoop.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("TabuSearchMainLoop", "An operator which represents the main loop of a tabu search.")]
    37   [StorableClass]
     37  [StorableType("d24c0a1e-1f94-43e5-ba4b-97a49665fba8")]
    3838  public sealed class TabuSearchMainLoop : AlgorithmOperator {
    3939    #region Parameter properties
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSelector.cs

    r14185 r14927  
    2626using HeuristicLab.Data;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929using HeuristicLab.Selection;
    3030
     
    3737  /// </remarks>
    3838  [Item("TabuSelector", "An operator that selects the best move that is either not tabu or satisfies the aspiration criterion. It expects the move subscopes to be sorted by the qualities of the moves (the best move is first).")]
    39   [StorableClass]
     39  [StorableType("48a6500d-95f7-4dd9-8efe-c48f5da3bf6b")]
    4040  public class TabuSelector : Selector {
    4141    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.