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.IntegerVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.IntegerVectorEncoding {
     
    3333  /// </remarks>
    3434  [Item("SinglePointCrossover", "Single point crossover for integer vectors. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    35   [StorableClass]
     35  [StorableType("0B985803-CC2D-466B-B5F2-9A1F7C415735")]
    3636  public class SinglePointCrossover : IntegerVectorCrossover {
    3737    [StorableConstructor]
    38     protected SinglePointCrossover(bool deserializing) : base(deserializing) { }
     38    protected SinglePointCrossover(StorableConstructorFlag _) : base(_) { }
    3939    protected SinglePointCrossover(SinglePointCrossover original, Cloner cloner) : base(original, cloner) { }
    4040    public SinglePointCrossover() : base() { }
Note: See TracChangeset for help on using the changeset viewer.