Changes between Version 11 and Version 12 of Documentation/Howto/ImplementANewVRPEncoding
- Timestamp:
- 10/05/20 10:08:28 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Howto/ImplementANewVRPEncoding
v11 v12 42 42 - HeuristicLab.Optimization 43 43 - HeuristicLab.Parameters 44 - H euristicLab.Persistence44 - HEAL.Attic 45 45 - '''HeuristicLab.Problems.VehicleRouting''' 46 46 … … 52 52 #!cs 53 53 [Item("MultiTripEncoding", "Represents a potvin encoding of VRP solutions adapted for multi trip VRPs.")] 54 [StorableClass] 55 public class MultiTripEncoding 56 : PotvinEncoding { 54 [StorableType("3f543d26-1187-4861-954d-0f98896c11e1")] 55 public class MultiTripEncoding : PotvinEncoding { 57 56 58 57 [StorableConstructor] 59 protected MultiTripEncoding(bool serializing) 60 : base(serializing) { 61 } 58 protected MultiTripEncoding(StorableConstructorFlag _) : base(_) { } 62 59 63 60 public override IDeepCloneable Clone(Cloner cloner) { … … 184 181 #!cs 185 182 [Item("MultiTripVRPInstance", "Represents a single depot multi trip CVRP instance.")] 186 [Storable Class]183 [StorableType("3051e556-1d88-4527-8925-8020c419b5d3")] 187 184 public class MultiTripVRPInstance : CVRPProblemInstance, IMultiTripProblemInstance { 188 185 protected IValueParameter<DoubleValue> MaxDistanceParameter { … … 205 202 206 203 [StorableConstructor] 207 protected MultiTripVRPInstance( bool deserializing) : base(deserializing) { }204 protected MultiTripVRPInstance(StorableConstructorFlag _) : base(_) { } 208 205 209 206 public MultiTripVRPInstance() { … … 262 259 263 260 [Item("MultiTripEvaluator", "Represents a single depot CVRP evaluator with multiple trips.")] 264 [Storable Class]261 [StorableType("557b8938-0e72-440c-ab20-5d2e31f715a0")] 265 262 public class MultiTripEvaluator : CVRPEvaluator { 266 263 public ILookupParameter<DoubleValue> MaxDistanceViolationParameter { … … 285 282 286 283 [StorableConstructor] 287 protected MultiTripEvaluator( bool deserializing) : base(deserializing) { }284 protected MultiTripEvaluator(StorableConstructorFlag _) : base(_) { } 288 285 289 286 public MultiTripEvaluator() { … … 483 480 #!cs 484 481 [Item("MultiTripIterativeInsertionCreator", "Creates a randomly initialized VRP solution.")] 485 [Storable Class]482 [StorableType("1bd069bf-f31c-476d-94a7-a1b4fd12864c")] 486 483 public sealed class MultiTripIterativeInsertionCreator 487 484 : PotvinCreator, IStochasticOperator, IMultiTripOperator { … … 494 491 495 492 [StorableConstructor] 496 private MultiTripIterativeInsertionCreator(bool deserializing) 497 : base(deserializing) { } 493 private MultiTripIterativeInsertionCreator(StorableConstructorFlag _) : base(_) { } 498 494 499 495 public MultiTripIterativeInsertionCreator() … … 530 526 #!cs 531 527 [Item("MultiTripManipulator", "The manimulation operator which flips a random tour delimiter in a multi trip VRP.")] 532 [Storable Class]528 [StorableType("8f652e53-bfd1-44d9-a1a8-34e8ba24913a")] 533 529 public class MultiTripManipulator 534 530 : PotvinManipulator, IMultiTripOperator { 535 531 536 532 [StorableConstructor] 537 private MultiTripManipulator( bool deserializing) : base(deserializing) { }533 private MultiTripManipulator(StorableConstructorFlag _) : base(_) { } 538 534 539 535 public MultiTripManipulator() : base() { } … … 571 567 #!cs 572 568 [Item("MultiTripRBX", "The RBX crossover for multi-trip VRP representations.")] 573 [Storable Class]569 [StorableType("eed6f653-2a17-4836-be49-f9758e8f72dc")] 574 570 public class MultiTripRBX 575 571 : PotvinCrossover, IMultiTripOperator { 576 572 577 573 [StorableConstructor] 578 private MultiTripRBX( bool deserializing) : base(deserializing) { }574 private MultiTripRBX(StorableConstructorFlag _) : base(_) { } 579 575 580 576 public MultiTripRBX()