Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 7 and Version 8 of Documentation/Howto/ImplementANewVRPProblemInstance


Ignore:
Timestamp:
10/05/20 10:13:04 (4 years ago)
Author:
abeham
Comment:

Updated code to HEAL.Attic persistence

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Howto/ImplementANewVRPProblemInstance

    v7 v8  
    4242 - HeuristicLab.Optimization
    4343 - HeuristicLab.Parameters
    44  - HeuristicLab.Persistence
     44 - HEAL.Attic
    4545 - '''HeuristicLab.Problems.VehicleRouting'''
    4646 - '''HeuristicLab.Problems.Instances'''
     
    7171{{{
    7272#!cs
     73[StorableType("a7576fed-de07-4755-885b-104b79550573")]
    7374public interface ITimeDependentProblemInstance : IVRPProblemInstance {
    7475  ItemDictionary<IntValue, DoubleMatrix> TravelTimes { get; }
     
    8283#!cs
    8384[Item("TimeDependentProblemInstance", "Represents a time dependant CVRPTW instance.")]
    84 [StorableClass]
     85[StorableType("ca038f85-c73f-4f42-ba3c-2ef5a464c92b")]
    8586public class TimeDependentProblemInstance
    8687  : CVRPTWProblemInstance, ITimeDependentProblemInstance {
    8788   
    8889  [StorableConstructor]
    89   protected TimeDependentProblemInstance(bool deserializing) : base(deserializing) { }
     90  protected TimeDependentProblemInstance(StorableConstructorFlag _) : base(_) { }
    9091 
    9192  public override IDeepCloneable Clone(Cloner cloner) {
     
    174175#!cs
    175176[Item("TimeDependentVRPEvaluator", "Represents a time dependent VRP evaluator.")]
    176 [StorableClass]
     177[StorableType("1151030f-5f57-4fa6-9e42-dbbf8b539f20")]
    177178public class TimeDependentVRPEvaluator
    178179  : CVRPTWEvaluator {
    179180
    180181  [StorableConstructor]
    181   protected TimeDependentVRPEvaluator(bool deserializing) : base(deserializing) { }
     182  protected TimeDependentVRPEvaluator(StorableConstructorFlag _) : base(_) { }
    182183 
    183184  public TimeDependentVRPEvaluator() {