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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/SimilarityCalculators/VRPSimilarityCalculator.cs

    r16453 r16462  
    2626using HeuristicLab.Core;
    2727using HeuristicLab.Optimization.Operators;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Encodings.Potvin;
    3030using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3838  /// </remarks>
    3939  [Item("VRPSimilarityCalculator", "An operator which performs similarity calculation between two VRP solutions.")]
    40   [StorableClass]
     40  [StorableType("16011E6B-62F5-4165-9F8D-E4BA5191FB7E")]
    4141  public sealed class VRPSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    4242    protected override bool IsCommutative { get { return true; } }
     
    4545    public IVRPProblemInstance ProblemInstance { get; set; }
    4646
    47     private VRPSimilarityCalculator(bool deserializing) : base(deserializing) { }
     47    [StorableConstructor]
     48    private VRPSimilarityCalculator(StorableConstructorFlag _) : base(_) { }
    4849    private VRPSimilarityCalculator(VRPSimilarityCalculator original, Cloner cloner)
    4950      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.