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.Optimization/3.3/Termination/ComparisonTerminator.cs

    r16453 r16462  
    2626using HeuristicLab.Data;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Optimization {
    3131  [Item("ComparisonTerminator", "An termination criterion which compares two values.")]
    32   [StorableClass]
     32  [StorableType("4059C985-CA18-4C95-AC1C-BA8AAE64AD98")]
    3333  public class ComparisonTerminator<T> : ThresholdTerminator<T> where T : class, IItem, IComparable, IStringConvertibleValue, new() {
    3434    public ILookupParameter<T> ComparisonValueParameter {
     
    4646
    4747    [StorableConstructor]
    48     protected ComparisonTerminator(bool deserializing) : base(deserializing) { }
     48    protected ComparisonTerminator(StorableConstructorFlag _) : base(_) { }
    4949    [StorableHook(HookType.AfterDeserialization)]
    5050    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.