- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPCoordinatesPathEvaluator.cs
r4068 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 46 47 } 47 48 49 [StorableConstructor] 50 protected TSPCoordinatesPathEvaluator(bool deserializing) : base(deserializing) { } 51 protected TSPCoordinatesPathEvaluator(TSPCoordinatesPathEvaluator original, Cloner cloner) : base(original, cloner) { } 48 52 protected TSPCoordinatesPathEvaluator() 49 53 : base() { -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPEuclideanPathEvaluator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 32 [StorableClass] 32 33 public sealed class TSPEuclideanPathEvaluator : TSPCoordinatesPathEvaluator { 34 [StorableConstructor] 35 private TSPEuclideanPathEvaluator(bool deserializing) : base(deserializing) { } 36 private TSPEuclideanPathEvaluator(TSPEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 public TSPEuclideanPathEvaluator() : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new TSPEuclideanPathEvaluator(this, cloner); 41 } 42 33 43 /// <summary> 34 44 /// Calculates the distance between two points using the Euclidean distance metric. -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPEvaluator.cs
r4068 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 41 42 } 42 43 44 [StorableConstructor] 45 protected TSPEvaluator(bool deserializing) : base(deserializing) { } 46 protected TSPEvaluator(TSPEvaluator original, Cloner cloner) : base(original, cloner) { } 43 47 protected TSPEvaluator() 44 48 : base() { -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPGeoPathEvaluator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 33 34 private const double PI = 3.141592; 34 35 private const double RADIUS = 6378.388; 36 37 [StorableConstructor] 38 private TSPGeoPathEvaluator(bool deserializing) : base(deserializing) { } 39 private TSPGeoPathEvaluator(TSPGeoPathEvaluator original, Cloner cloner) : base(original, cloner) { } 40 public TSPGeoPathEvaluator() : base() { } 41 42 public override IDeepCloneable Clone(Cloner cloner) { 43 return new TSPGeoPathEvaluator(this, cloner); 44 } 45 35 46 36 47 /// <summary> -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPRoundedEuclideanPathEvaluator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 32 [StorableClass] 32 33 public sealed class TSPRoundedEuclideanPathEvaluator : TSPCoordinatesPathEvaluator { 34 [StorableConstructor] 35 private TSPRoundedEuclideanPathEvaluator(bool deserializing) : base(deserializing) { } 36 private TSPRoundedEuclideanPathEvaluator(TSPRoundedEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 public TSPRoundedEuclideanPathEvaluator() : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new TSPRoundedEuclideanPathEvaluator(this, cloner); 41 } 42 33 43 /// <summary> 34 44 /// Calculates the distance between two points using the rounded Euclidean distance metric.
Note: See TracChangeset
for help on using the changeset viewer.