- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 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/MoveEvaluators/TwoOpt/TSPInversionMoveEuclideanPathEvaluator.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 class TSPInversionMoveEuclideanPathEvaluator : TSPInversionMovePathEvaluator { 34 [StorableConstructor] 35 protected TSPInversionMoveEuclideanPathEvaluator(bool deserializing) : base(deserializing) { } 36 protected TSPInversionMoveEuclideanPathEvaluator(TSPInversionMoveEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 public TSPInversionMoveEuclideanPathEvaluator() : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new TSPInversionMoveEuclideanPathEvaluator(this, cloner); 41 } 42 33 43 public override Type EvaluatorType { 34 44 get { return typeof(TSPEuclideanPathEvaluator); } -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/TwoOpt/TSPInversionMoveGeoPathEvaluator.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; … … 38 39 private const double RADIUS = 6378.388; 39 40 41 [StorableConstructor] 42 protected TSPInversionMoveGeoPathEvaluator(bool deserializing) : base(deserializing) { } 43 protected TSPInversionMoveGeoPathEvaluator(TSPInversionMoveGeoPathEvaluator original, Cloner cloner) : base(original, cloner) { } 44 public TSPInversionMoveGeoPathEvaluator() : base() { } 45 46 public override IDeepCloneable Clone(Cloner cloner) { 47 return new TSPInversionMoveGeoPathEvaluator(this, cloner); 48 } 49 40 50 /// <summary> 41 51 /// Calculates the distance between two points using the GEO distance metric (globe coordinates). -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/TwoOpt/TSPInversionMovePathEvaluator.cs
r4068 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 37 38 } 38 39 40 [StorableConstructor] 41 protected TSPInversionMovePathEvaluator(bool deserializing) : base(deserializing) { } 42 protected TSPInversionMovePathEvaluator(TSPInversionMovePathEvaluator original, Cloner cloner) : base(original, cloner) { } 39 43 public TSPInversionMovePathEvaluator() 40 44 : base() { -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/MoveEvaluators/TwoOpt/TSPInversionMoveRoundedEuclideanPathEvaluator.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 class TSPInversionMoveRoundedEuclideanPathEvaluator : TSPInversionMovePathEvaluator { 34 [StorableConstructor] 35 protected TSPInversionMoveRoundedEuclideanPathEvaluator(bool deserializing) : base(deserializing) { } 36 protected TSPInversionMoveRoundedEuclideanPathEvaluator(TSPInversionMoveRoundedEuclideanPathEvaluator original, Cloner cloner) : base(original, cloner) { } 37 public TSPInversionMoveRoundedEuclideanPathEvaluator() : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new TSPInversionMoveRoundedEuclideanPathEvaluator(this, cloner); 41 } 42 33 43 public override Type EvaluatorType { 34 44 get { return typeof(TSPRoundedEuclideanPathEvaluator); }
Note: See TracChangeset
for help on using the changeset viewer.