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/Encodings/Potvin/Crossovers/PotvinInsertionBasedCrossover.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525using System.Collections.Generic;
    2626using HeuristicLab.Data;
     
    3232namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin {
    3333  [Item("PotvinInsertionBasedCrossover", "The IBX crossover for VRP representations. It is implemented as described in Berger, J and Solois, M and Begin, R (1998). A hybrid genetic algorithm for the vehicle routing problem with time windows. LNCS 1418. Springer, London 114-127.")]
    34   [StorableClass]
     34  [StorableType("441CEAB7-A2E2-4217-8E44-EA99312F72E6")]
    3535  public sealed class PotvinInsertionBasedCrossover : PotvinCrossover {
    3636    public IValueParameter<IntValue> Length {
     
    3939
    4040    [StorableConstructor]
    41     private PotvinInsertionBasedCrossover(bool deserializing) : base(deserializing) { }
     41    private PotvinInsertionBasedCrossover(StorableConstructorFlag _) : base(_) { }
    4242    private PotvinInsertionBasedCrossover(PotvinInsertionBasedCrossover original, Cloner cloner)
    4343      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.