Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/AttDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Att Distance", "Calculates the att distance.")] 30 [Storable Class]30 [StorableType("7A21281C-EED9-4FE0-A6B1-DE916A074739")] 31 31 public sealed class AttDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private AttDistance( bool deserializing) : base(deserializing) { }34 private AttDistance(StorableConstructorFlag _) : base(_) { } 35 35 private AttDistance(AttDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public AttDistance() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/DistanceCalculator.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.PTSP { 28 28 [Item("Distance calculator", "Calculates the distance between two cities given as index of a coordinates matrix.")] 29 [Storable Class]29 [StorableType("7CC7E665-A6A7-478B-B978-7079E1DDBA70")] 30 30 public abstract class DistanceCalculator : Item { 31 31 [StorableConstructor] 32 protected DistanceCalculator( bool deserializing) : base(deserializing) { }32 protected DistanceCalculator(StorableConstructorFlag _) : base(_) { } 33 33 protected DistanceCalculator(DistanceCalculator original, Cloner cloner) : base(original, cloner) { } 34 34 protected DistanceCalculator() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/EuclideanDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Euclidean Distance", "Calculates the euclidean distance.")] 30 [Storable Class]30 [StorableType("D769186D-11F8-4F67-A39A-4B78184334E7")] 31 31 public sealed class EuclideanDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private EuclideanDistance( bool deserializing) : base(deserializing) { }34 private EuclideanDistance(StorableConstructorFlag _) : base(_) { } 35 35 private EuclideanDistance(EuclideanDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public EuclideanDistance() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/GeoDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Geo Distance", "Calculates the geo distance.")] 30 [Storable Class]30 [StorableType("B6CAD594-7558-4F19-ACE3-7739D29621F1")] 31 31 public sealed class GeoDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private GeoDistance( bool deserializing) : base(deserializing) { }34 private GeoDistance(StorableConstructorFlag _) : base(_) { } 35 35 private GeoDistance(GeoDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public GeoDistance() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/ManhattanDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Manhattan Distance", "Calculates the Manhattan distance.")] 30 [Storable Class]30 [StorableType("1395A5AC-9A55-40F0-B5C4-1EF15284938F")] 31 31 public sealed class ManhattanDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private ManhattanDistance( bool deserializing) : base(deserializing) { }34 private ManhattanDistance(StorableConstructorFlag _) : base(_) { } 35 35 private ManhattanDistance(ManhattanDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public ManhattanDistance() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/MaximumDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Maximum Distance", "Calculates the maximum distance.")] 30 [Storable Class]30 [StorableType("4ADF8A83-B110-4B39-882F-B5286EFB78A9")] 31 31 public sealed class MaximumDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private MaximumDistance( bool deserializing) : base(deserializing) { }34 private MaximumDistance(StorableConstructorFlag _) : base(_) { } 35 35 private MaximumDistance(MaximumDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public MaximumDistance() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/RoundedEuclideanDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Rounded Euclidean Distance", "Calculates the euclidean distance and rounds it to the nearest integer.")] 30 [Storable Class]30 [StorableType("5AE6854F-505E-438A-8668-2758FEF20861")] 31 31 public sealed class RoundedEuclideanDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private RoundedEuclideanDistance( bool deserializing) : base(deserializing) { }34 private RoundedEuclideanDistance(StorableConstructorFlag _) : base(_) { } 35 35 private RoundedEuclideanDistance(RoundedEuclideanDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public RoundedEuclideanDistance() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/DistanceCalculators/UpperEuclideanDistance.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.Instances; 27 27 28 28 namespace HeuristicLab.Problems.PTSP { 29 29 [Item("Upper Euclidean Distance", "Calculates the ceiling of the euclidean distance.")] 30 [Storable Class]30 [StorableType("960A75FA-C8A7-4927-9814-C454343C198E")] 31 31 public sealed class UpperEuclideanDistance : DistanceCalculator { 32 32 33 33 [StorableConstructor] 34 private UpperEuclideanDistance( bool deserializing) : base(deserializing) { }34 private UpperEuclideanDistance(StorableConstructorFlag _) : base(_) { } 35 35 private UpperEuclideanDistance(UpperEuclideanDistance original, Cloner cloner) : base(original, cloner) { } 36 36 public UpperEuclideanDistance() { }
Note: See TracChangeset
for help on using the changeset viewer.