Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPCoordinatesPathEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Problems.TravelingSalesman { … … 33 33 /// </summary> 34 34 [Item("TSPCoordinatesPathEvaluator", "A base class for operators which evaluate TSP solutions given in path representation using city coordinates.")] 35 [Storable Class]35 [StorableType("4A8D4CC9-C6A6-4611-A140-C21FAA93EDC0")] 36 36 public abstract class TSPCoordinatesPathEvaluator : TSPEvaluator, ITSPCoordinatesPathEvaluator { 37 37 private object locker = new object(); … … 51 51 52 52 [StorableConstructor] 53 protected TSPCoordinatesPathEvaluator( bool deserializing) : base(deserializing) { }53 protected TSPCoordinatesPathEvaluator(StorableConstructorFlag _) : base(_) { } 54 54 protected TSPCoordinatesPathEvaluator(TSPCoordinatesPathEvaluator original, Cloner cloner) : base(original, cloner) { } 55 55 protected TSPCoordinatesPathEvaluator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPDistanceMatrixEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Problems.TravelingSalesman { … … 33 33 /// </summary> 34 34 [Item("TSPDistanceMatrixEvaluator", "Evaluate TSP solutions given in path representation using the distance matrix.")] 35 [Storable Class]35 [StorableType("A52B705D-9F66-47AE-B1B4-B6969E0A6D83")] 36 36 public sealed class TSPDistanceMatrixEvaluator : TSPEvaluator, ITSPDistanceMatrixEvaluator { 37 37 … … 44 44 45 45 [StorableConstructor] 46 private TSPDistanceMatrixEvaluator( bool deserializing) : base(deserializing) { }46 private TSPDistanceMatrixEvaluator(StorableConstructorFlag _) : base(_) { } 47 47 private TSPDistanceMatrixEvaluator(TSPDistanceMatrixEvaluator original, Cloner cloner) : base(original, cloner) { } 48 48 public TSPDistanceMatrixEvaluator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPEuclideanPathEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.TravelingSalesman { … … 30 30 /// </summary> 31 31 [Item("TSPEuclideanPathEvaluator", "An operator which evaluates TSP solutions given in path representation using the Euclidean distance metric.")] 32 [Storable Class]32 [StorableType("583A53B5-2ABD-44C4-A530-3B5395FB5855")] 33 33 public sealed class TSPEuclideanPathEvaluator : TSPCoordinatesPathEvaluator { 34 34 [StorableConstructor] 35 private TSPEuclideanPathEvaluator( bool deserializing) : base(deserializing) { }35 private TSPEuclideanPathEvaluator(StorableConstructorFlag _) : base(_) { } 36 36 private TSPEuclideanPathEvaluator(TSPEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 37 public TSPEuclideanPathEvaluator() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.TravelingSalesman { … … 32 32 /// </summary> 33 33 [Item("TSPEvaluator", "A base class for operators which evaluate TSP solutions.")] 34 [Storable Class]34 [StorableType("79FAF3BB-305D-437E-9FF3-C85A561D9A85")] 35 35 public abstract class TSPEvaluator : InstrumentedOperator, ITSPEvaluator { 36 36 public override bool CanChangeName { … … 43 43 44 44 [StorableConstructor] 45 protected TSPEvaluator( bool deserializing) : base(deserializing) { }45 protected TSPEvaluator(StorableConstructorFlag _) : base(_) { } 46 46 protected TSPEvaluator(TSPEvaluator original, Cloner cloner) : base(original, cloner) { } 47 47 protected TSPEvaluator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPGeoPathEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.TravelingSalesman { … … 30 30 /// </summary> 31 31 [Item("TSPGeoPathEvaluator", "An operator which evaluates TSP solutions given in path representation using the GEO distance metric (globe coordinates).")] 32 [Storable Class]32 [StorableType("A69C2CE3-6A89-4991-9743-4DE8F07149B9")] 33 33 public sealed class TSPGeoPathEvaluator : TSPCoordinatesPathEvaluator { 34 34 private const double PI = 3.141592; … … 36 36 37 37 [StorableConstructor] 38 private TSPGeoPathEvaluator( bool deserializing) : base(deserializing) { }38 private TSPGeoPathEvaluator(StorableConstructorFlag _) : base(_) { } 39 39 private TSPGeoPathEvaluator(TSPGeoPathEvaluator original, Cloner cloner) : base(original, cloner) { } 40 40 public TSPGeoPathEvaluator() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPRoundedEuclideanPathEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.TravelingSalesman { … … 30 30 /// </summary> 31 31 [Item("TSPRoundedEuclideanPathEvaluator", "An operator which evaluates TSP solutions given in path representation using the rounded Euclidean distance metric.")] 32 [Storable Class]32 [StorableType("AD108E29-244A-42E1-AA46-23A09C9894B9")] 33 33 public sealed class TSPRoundedEuclideanPathEvaluator : TSPCoordinatesPathEvaluator { 34 34 [StorableConstructor] 35 private TSPRoundedEuclideanPathEvaluator( bool deserializing) : base(deserializing) { }35 private TSPRoundedEuclideanPathEvaluator(StorableConstructorFlag _) : base(_) { } 36 36 private TSPRoundedEuclideanPathEvaluator(TSPRoundedEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 37 public TSPRoundedEuclideanPathEvaluator() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPUpperEuclideanPathEvaluator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.TravelingSalesman { … … 30 30 /// </summary> 31 31 [Item("TSPUpperEuclideanPathEvaluator", "An operator which evaluates TSP solutions given in path representation using the rounded up Euclidean distance metric.")] 32 [Storable Class]32 [StorableType("B827571E-A3F8-48A5-8908-D2C3537D40CF")] 33 33 public sealed class TSPUpperEuclideanPathEvaluator : TSPCoordinatesPathEvaluator { 34 34 [StorableConstructor] 35 private TSPUpperEuclideanPathEvaluator( bool deserializing) : base(deserializing) { }35 private TSPUpperEuclideanPathEvaluator(StorableConstructorFlag _) : base(_) { } 36 36 private TSPUpperEuclideanPathEvaluator(TSPUpperEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 37 public TSPUpperEuclideanPathEvaluator() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.