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.Problems.Knapsack/3.3
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/Analyzers/BestKnapsackSolutionAnalyzer.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Problems.Knapsack {
     
    3535  /// </summary>
    3636  [Item("BestKnapsackSolutionAnalyzer", "An operator for analyzing the best solution for a Knapsack problem.")]
    37   [StorableClass]
     37  [StorableType("d22712d0-e09c-409b-aa75-8fc782b41053")]
    3838  public class BestKnapsackSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator {
    3939    public virtual bool EnabledByDefault {
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs

    r14185 r14927  
    2727using HeuristicLab.Operators;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Problems.Knapsack {
     
    3434  /// </summary>
    3535  [Item("KnapsackEvaluator", "Evaluates solutions for the Knapsack problem.")]
    36   [StorableClass]
     36  [StorableType("8b2efd17-2a06-449a-aaae-439dd4ca103f")]
    3737  public class KnapsackEvaluator : InstrumentedOperator, IKnapsackEvaluator {
    3838    public ILookupParameter<DoubleValue> QualityParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/Improvers/KnapsackImprovementOperator.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333namespace HeuristicLab.Problems.Knapsack {
     
    4040  /// </remarks>
    4141  [Item("KnapsackImprovementOperator", "An operator that improves knapsack solutions. It is implemented as described in Laguna, M. and Martí, R. (2003). Scatter Search: Methodology and Implementations in C. Operations Research/Computer Science Interfaces Series, Vol. 24. Springer.")]
    42   [StorableClass]
     42  [StorableType("6b0f06c0-1c12-4d3e-9825-f47d4ce80b5c")]
    4343  public sealed class KnapsackImprovementOperator : SingleSuccessorOperator, ISingleObjectiveImprovementOperator {
    4444    #region Parameter properties
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs

    r14412 r14927  
    3131using HeuristicLab.Optimization.Operators;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HeuristicLab.Persistence;
    3434using HeuristicLab.PluginInfrastructure;
    3535
     
    3737  [Item("Knapsack Problem (KSP)", "Represents a Knapsack problem.")]
    3838  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 200)]
    39   [StorableClass]
     39  [StorableType("2c21c642-fa5d-4f8b-bcb3-294563d7852c")]
    4040  public sealed class KnapsackProblem : SingleObjectiveHeuristicOptimizationProblem<IKnapsackEvaluator, IBinaryVectorCreator>, IStorableContent {
    4141    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/KnapsackSolution.cs

    r14185 r14927  
    2626using HeuristicLab.Data;
    2727using HeuristicLab.Encodings.BinaryVectorEncoding;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.Knapsack {
     
    3333  /// </summary>
    3434  [Item("KnapsackSolution", "Represents a Knapsack solution which can be visualized in the GUI.")]
    35   [StorableClass]
     35  [StorableType("7e92edd9-7d8b-4bdb-b3d4-4c04952af9ac")]
    3636  public class KnapsackSolution : Item {
    3737    public static new Image StaticItemImage {
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/MoveEvaluators/KnapsackMoveEvaluator.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Problems.Knapsack {
     
    3434  /// </summary>
    3535  [Item("KnapsackMoveEvaluator", "A base class for operators which evaluate Knapsack moves.")]
    36   [StorableClass]
     36  [StorableType("c43dd926-98eb-48e5-a327-fd845da942fd")]
    3737  public abstract class KnapsackMoveEvaluator : SingleSuccessorOperator, IKnapsackMoveEvaluator, IBinaryVectorMoveOperator {
    3838    public ILookupParameter<DoubleValue> QualityParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/MoveEvaluators/KnapsackOneBitflipMoveEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Encodings.BinaryVectorEncoding;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.Knapsack {
     
    3232  /// </summary>
    3333  [Item("KnapsackOneBitflipMoveEvaluator", "Base class for evaluating one bitflip moves.")]
    34   [StorableClass]
     34  [StorableType("c20c3905-8d20-4521-b941-102798124f38")]
    3535  public class KnapsackOneBitflipMoveEvaluator : KnapsackMoveEvaluator, IOneBitflipMoveOperator {
    3636    public ILookupParameter<OneBitflipMove> OneBitflipMoveParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/PathRelinkers/KnapsackPathRelinker.cs

    r14185 r14927  
    2828using HeuristicLab.Encodings.BinaryVectorEncoding;
    2929using HeuristicLab.Optimization.Operators;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Problems.Knapsack {
     
    3838  /// </remarks>
    3939  [Item("KnapsackPathRelinker", "An operator that relinks paths between knapsack solutions. The operator incrementally assimilates the initiating solution into the guiding solution by adding and removing elements as needed.")]
    40   [StorableClass]
     40  [StorableType("e7508925-0559-4d11-8ad8-d39cc8ddec26")]
    4141  public sealed class KnapsackPathRelinker : SingleObjectivePathRelinker {
    4242    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Problems.Knapsack/3.3/PathRelinkers/KnapsackSimultaneousPathRelinker.cs

    r14185 r14927  
    2828using HeuristicLab.Encodings.BinaryVectorEncoding;
    2929using HeuristicLab.Optimization.Operators;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Problems.Knapsack {
     
    3838  /// </remarks>
    3939  [Item("KnapsackSimultaneousPathRelinker", "An operator that relinks paths between knapsack solutions starting from both ends. The operator incrementally assimilates the initiating solution into the guiding solution and vice versa by adding and removing elements as needed.")]
    40   [StorableClass]
     40  [StorableType("e33c25e5-befb-4e4f-9675-e1ba2754c2c7")]
    4141  public sealed class KnapsackSimultaneousPathRelinker : SingleObjectivePathRelinker {
    4242    [StorableConstructor]
Note: See TracChangeset for help on using the changeset viewer.