Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 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.SymbolicExpressionTreeEncoding/3.4/Crossovers/SubtreeCrossover.cs

    r16453 r16462  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030using HeuristicLab.Random;
    3131
     
    3838  /// </summary> 
    3939  [Item("SubtreeSwappingCrossover", "An operator which performs subtree swapping crossover.")]
    40   [StorableClass]
     40  [StorableType("2A2552C0-11C8-4F60-90B2-5FDDD3AB2444")]
    4141  public class SubtreeCrossover : SymbolicExpressionTreeCrossover, ISymbolicExpressionTreeSizeConstraintOperator {
    4242    private const string InternalCrossoverPointProbabilityParameterName = "InternalCrossoverPointProbability";
     
    6767    #endregion
    6868    [StorableConstructor]
    69     protected SubtreeCrossover(bool deserializing) : base(deserializing) { }
     69    protected SubtreeCrossover(StorableConstructorFlag _) : base(_) { }
    7070    protected SubtreeCrossover(SubtreeCrossover original, Cloner cloner) : base(original, cloner) { }
    7171    public SubtreeCrossover()
Note: See TracChangeset for help on using the changeset viewer.