Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/ConstraintRelaxation
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/ConstraintRelaxation/Capacitated/CapacityRelaxationVRPAnalyzer.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3030using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535  /// </summary>
    3636  [Item("CapacityRelaxationVRPAnalyzer", "An operator for adaptively relaxing the capacity constraints.")]
    37   [StorableClass]
     37  [StorableType("02E519CA-7B71-4BBE-89A5-E630D1FEFC58")]
    3838  public class CapacityRelaxationVRPAnalyzer : SingleSuccessorOperator, IAnalyzer, ICapacitatedOperator, ISingleObjectiveOperator {
    3939    public ILookupParameter<IVRPProblemInstance> ProblemInstanceParameter {
     
    7373
    7474    [StorableConstructor]
    75     protected CapacityRelaxationVRPAnalyzer(bool deserializing) : base(deserializing) { }
     75    protected CapacityRelaxationVRPAnalyzer(StorableConstructorFlag _) : base(_) { }
    7676
    7777    public CapacityRelaxationVRPAnalyzer()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/ConstraintRelaxation/PickupAndDelivery/PickupViolationsRelaxationVRPAnalyzer.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3030using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535  /// </summary>
    3636  [Item("PickupViolationsRelaxationVRPAnalyzer", "An operator for adaptively relaxing the pickup constraints.")]
    37   [StorableClass]
     37  [StorableType("86D541AB-5E65-432B-A8C4-F012A6B46275")]
    3838  public class PickupViolationsRelaxationVRPAnalyzer : SingleSuccessorOperator, IAnalyzer, IPickupAndDeliveryOperator, ISingleObjectiveOperator {
    3939    public ILookupParameter<IVRPProblemInstance> ProblemInstanceParameter {
     
    7373
    7474    [StorableConstructor]
    75     protected PickupViolationsRelaxationVRPAnalyzer(bool deserializing) : base(deserializing) { }
     75    protected PickupViolationsRelaxationVRPAnalyzer(StorableConstructorFlag _) : base(_) { }
    7676
    7777    public PickupViolationsRelaxationVRPAnalyzer()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/ConstraintRelaxation/TimeWindowed/TimeWindowRelaxationVRPAnalyzer.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3030using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535  /// </summary>
    3636  [Item("TimeWindowRelaxationVRPAnalyzer", "An operator for adaptively relaxing the time window constraints.")]
    37   [StorableClass]
     37  [StorableType("2CF57A00-547B-46E8-8B55-D626EB2D61DD")]
    3838  public class TimeWindowRelaxationVRPAnalyzer : SingleSuccessorOperator, IAnalyzer, ITimeWindowedOperator, ISingleObjectiveOperator {
    3939    public ILookupParameter<IVRPProblemInstance> ProblemInstanceParameter {
     
    7373
    7474    [StorableConstructor]
    75     protected TimeWindowRelaxationVRPAnalyzer(bool deserializing) : base(deserializing) { }
     75    protected TimeWindowRelaxationVRPAnalyzer(StorableConstructorFlag _) : base(_) { }
    7676
    7777    public TimeWindowRelaxationVRPAnalyzer()
Note: See TracChangeset for help on using the changeset viewer.