Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 11 and Version 12 of Documentation/Howto/ImplementANewVRPEncoding


Ignore:
Timestamp:
10/05/20 10:08:28 (4 years ago)
Author:
abeham
Comment:

updated doc after switch to HEAL.Attic persistence

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Howto/ImplementANewVRPEncoding

    v11 v12  
    4242 - HeuristicLab.Optimization
    4343 - HeuristicLab.Parameters
    44  - HeuristicLab.Persistence
     44 - HEAL.Attic
    4545 - '''HeuristicLab.Problems.VehicleRouting'''
    4646
     
    5252#!cs
    5353[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")]
     55public class MultiTripEncoding : PotvinEncoding {
    5756 
    5857  [StorableConstructor]
    59   protected MultiTripEncoding(bool serializing)
    60     : base(serializing) {
    61   }
     58  protected MultiTripEncoding(StorableConstructorFlag _) : base(_) { }
    6259 
    6360  public override IDeepCloneable Clone(Cloner cloner) {
     
    184181#!cs
    185182[Item("MultiTripVRPInstance", "Represents a single depot multi trip CVRP instance.")]
    186 [StorableClass]
     183[StorableType("3051e556-1d88-4527-8925-8020c419b5d3")]
    187184public class MultiTripVRPInstance : CVRPProblemInstance, IMultiTripProblemInstance {
    188185  protected IValueParameter<DoubleValue> MaxDistanceParameter {
     
    205202 
    206203  [StorableConstructor]
    207   protected MultiTripVRPInstance(bool deserializing) : base(deserializing) { }
     204  protected MultiTripVRPInstance(StorableConstructorFlag _) : base(_) { }
    208205 
    209206  public MultiTripVRPInstance() {
     
    262259 
    263260[Item("MultiTripEvaluator", "Represents a single depot CVRP evaluator with multiple trips.")]
    264 [StorableClass]
     261[StorableType("557b8938-0e72-440c-ab20-5d2e31f715a0")]
    265262public class MultiTripEvaluator : CVRPEvaluator {
    266263  public ILookupParameter<DoubleValue> MaxDistanceViolationParameter {
     
    285282 
    286283  [StorableConstructor]
    287   protected MultiTripEvaluator(bool deserializing) : base(deserializing) { }
     284  protected MultiTripEvaluator(StorableConstructorFlag _) : base(_) { }
    288285 
    289286  public MultiTripEvaluator() {
     
    483480#!cs
    484481[Item("MultiTripIterativeInsertionCreator", "Creates a randomly initialized VRP solution.")]
    485 [StorableClass]
     482[StorableType("1bd069bf-f31c-476d-94a7-a1b4fd12864c")]
    486483public sealed class MultiTripIterativeInsertionCreator
    487484  : PotvinCreator, IStochasticOperator, IMultiTripOperator {
     
    494491 
    495492  [StorableConstructor]
    496   private MultiTripIterativeInsertionCreator(bool deserializing)
    497     : base(deserializing) { }
     493  private MultiTripIterativeInsertionCreator(StorableConstructorFlag _) : base(_) { }
    498494 
    499495  public MultiTripIterativeInsertionCreator()
     
    530526#!cs
    531527[Item("MultiTripManipulator", "The manimulation operator which flips a random tour delimiter in a multi trip VRP.")]
    532 [StorableClass]
     528[StorableType("8f652e53-bfd1-44d9-a1a8-34e8ba24913a")]
    533529public class MultiTripManipulator
    534530  : PotvinManipulator, IMultiTripOperator {
    535531
    536532  [StorableConstructor]
    537   private MultiTripManipulator(bool deserializing) : base(deserializing) { }
     533  private MultiTripManipulator(StorableConstructorFlag _) : base(_) { }
    538534 
    539535  public MultiTripManipulator() : base() { }
     
    571567#!cs
    572568[Item("MultiTripRBX", "The RBX crossover for multi-trip VRP representations.")]
    573 [StorableClass]
     569[StorableType("eed6f653-2a17-4836-be49-f9758e8f72dc")]
    574570public class MultiTripRBX
    575571  : PotvinCrossover, IMultiTripOperator {
    576572 
    577573  [StorableConstructor]
    578   private MultiTripRBX(bool deserializing) : base(deserializing) { }
     574  private MultiTripRBX(StorableConstructorFlag _) : base(_) { }
    579575 
    580576  public MultiTripRBX()