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.GradientDescent/3.3/Lbfgs.cs

    r16453 r16462  
    3131using HeuristicLab.Optimization;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HEAL.Fossil;
    3434using HeuristicLab.Random;
    3535
     
    4040  [Item("LM-BFGS", "The limited-memory BFGS (Broyden–Fletcher–Goldfarb–Shanno) optimization algorithm.")]
    4141  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 160)]
    42   [StorableClass]
     42  [StorableType("55E85596-0FC7-41B5-9B90-9A8BF33B7C55")]
    4343  public sealed class LbfgsAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent {
    4444    public override Type ProblemType {
     
    104104
    105105    [StorableConstructor]
    106     private LbfgsAlgorithm(bool deserializing) : base(deserializing) { }
     106    private LbfgsAlgorithm(StorableConstructorFlag _) : base(_) { }
    107107    private LbfgsAlgorithm(LbfgsAlgorithm original, Cloner cloner)
    108108      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.