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.Encodings.PermutationEncoding/3.3/Crossovers/OrderCrossover2.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.PermutationEncoding {
     
    3535  /// </remarks>
    3636  [Item("OrderCrossover2", "An operator which performs an order crossover of two permutations. It is implemented as described in Affenzeller, M. et al. 2009. Genetic Algorithms and Genetic Programming - Modern Concepts and Practical Applications. CRC Press. p. 135.")]
    37   [StorableClass]
     37  [StorableType("9E9A828E-E853-43FD-A39B-F47D17BCE539")]
    3838  public class OrderCrossover2 : PermutationCrossover {
    3939    [StorableConstructor]
    40     protected OrderCrossover2(bool deserializing) : base(deserializing) { }
     40    protected OrderCrossover2(StorableConstructorFlag _) : base(_) { }
    4141    protected OrderCrossover2(OrderCrossover2 original, Cloner cloner) : base(original, cloner) { }
    4242    public OrderCrossover2() : base() { }
Note: See TracChangeset for help on using the changeset viewer.