Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 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.TravelingSalesman/3.3/MoveEvaluators/ThreeOpt
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/ThreeOpt/TSPTranslocationMoveDistanceMatrixEvaluator.cs

    r14185 r14927  
    2626using HeuristicLab.Encodings.PermutationEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.TravelingSalesman {
     
    3333  /// </summary>
    3434  [Item("TSPTranslocationMoveDistanceMatrixEvaluator", "Evaluates a translocation or insertion move (3-opt).")]
    35   [StorableClass]
     35  [StorableType("4bd06d01-e4b2-4d26-88b4-98d046062af7")]
    3636  public class TSPTranslocationMoveDistanceMatrixEvaluator : TSPMoveEvaluator, IPermutationTranslocationMoveOperator {
    3737    public override Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/ThreeOpt/TSPTranslocationMoveEuclideanPathEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TravelingSalesman {
     
    3030  /// </summary>
    3131  [Item("TSPTranslocationMoveEuclideanPathEvaluator", "Operator for evaluating a translocation or insertion move (3-opt) based on euclidean distances.")]
    32   [StorableClass]
     32  [StorableType("0aa3c06b-1550-428e-bf1f-c1f74ff19a38")]
    3333  public class TSPTranslocationMoveEuclideanPathEvaluator : TSPTranslocationMovePathEvaluator {
    3434    [StorableConstructor]
     
    4040      return new TSPTranslocationMoveEuclideanPathEvaluator(this, cloner);
    4141    }
    42    
     42
    4343    public override Type EvaluatorType {
    4444      get { return typeof(TSPEuclideanPathEvaluator); }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/ThreeOpt/TSPTranslocationMoveGeoPathEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TravelingSalesman {
     
    3030  /// </summary>
    3131  [Item("TSPTranslocationMoveGeoPathEvaluator", "Operator for evaluating a translocation or insertion move (3-opt) based on geo (world) distances.")]
    32   [StorableClass]
     32  [StorableType("5a0b7e60-dca6-4f19-9e58-d6c7cfd81cb8")]
    3333  public class TSPTranslocationMoveGeoPathEvaluator : TSPTranslocationMovePathEvaluator {
    3434    public override Type EvaluatorType {
     
    4747      return new TSPTranslocationMoveGeoPathEvaluator(this, cloner);
    4848    }
    49    
     49
    5050
    5151    /// <summary>
  • branches/PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/ThreeOpt/TSPTranslocationMovePathEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Encodings.PermutationEncoding;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TravelingSalesman {
     
    3232  /// </summary>
    3333  [Item("TSPTranslocationMovePathEvaluator", "Evaluates a translocation or insertion move (3-opt) by summing up the length of all added edges and subtracting the length of all deleted edges.")]
    34   [StorableClass]
     34  [StorableType("1a57191b-864a-406f-894e-cf9d5d1061c1")]
    3535  public abstract class TSPTranslocationMovePathEvaluator : TSPPathMoveEvaluator, IPermutationTranslocationMoveOperator {
    3636    public ILookupParameter<TranslocationMove> TranslocationMoveParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/ThreeOpt/TSPTranslocationMoveRoundedEuclideanPathEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TravelingSalesman {
     
    3030  /// </summary>
    3131  [Item("TSPTranslocationMoveRoundedEuclideanPathEvaluator", "Operator for evaluating a translocation or insertion move (3-opt) based on rounded euclidean distances.")]
    32   [StorableClass]
     32  [StorableType("e32094fd-ecc9-4fed-b7da-d733f0118ba3")]
    3333  public class TSPTranslocationMoveRoundedEuclideanPathEvaluator : TSPTranslocationMovePathEvaluator {
    3434    [StorableConstructor]
     
    4040      return new TSPTranslocationMoveRoundedEuclideanPathEvaluator(this, cloner);
    4141    }
    42    
     42
    4343    public override Type EvaluatorType {
    4444      get { return typeof(TSPRoundedEuclideanPathEvaluator); }
Note: See TracChangeset for help on using the changeset viewer.