Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/SimilarityCalculators
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/SimilarityCalculators/VRPSimilarityCalculator.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Optimization.Operators; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 using HeuristicLab.Problems.VehicleRouting.Encodings.Potvin; 30 30 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 38 38 /// </remarks> 39 39 [Item("VRPSimilarityCalculator", "An operator which performs similarity calculation between two VRP solutions.")] 40 [Storable Class]40 [StorableType("16011E6B-62F5-4165-9F8D-E4BA5191FB7E")] 41 41 public sealed class VRPSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 42 42 protected override bool IsCommutative { get { return true; } } … … 45 45 public IVRPProblemInstance ProblemInstance { get; set; } 46 46 47 private VRPSimilarityCalculator(bool deserializing) : base(deserializing) { } 47 [StorableConstructor] 48 private VRPSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 48 49 private VRPSimilarityCalculator(VRPSimilarityCalculator original, Cloner cloner) 49 50 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.