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.Algorithms.ALPS/3.3/WeightingReducer.cs

    r16453 r16462  
    2727using HeuristicLab.Operators;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Algorithms.ALPS {
    3232  [Item("WeightingReducer", "An operator that combines two values based on the weight of the lower (0.0) and higher (1.0) value.")]
    33   [StorableClass]
     33  [StorableType("A2B65E34-61EC-414A-827C-AAA3F1A1E46C")]
    3434  public sealed class WeightingReducer : SingleSuccessorOperator {
    3535    public IScopeTreeLookupParameter<DoubleValue> ParameterToReduce {
     
    4444
    4545    [StorableConstructor]
    46     private WeightingReducer(bool deserializing) : base(deserializing) { }
     46    private WeightingReducer(StorableConstructorFlag _) : base(_) { }
    4747    private WeightingReducer(WeightingReducer original, Cloner cloner)
    4848      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.