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.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r16453 r16462  
    3131using HeuristicLab.Optimization.Operators;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HEAL.Fossil;
    3434using HeuristicLab.PluginInfrastructure;
    3535using HeuristicLab.Problems.Instances;
     
    3737namespace HeuristicLab.Problems.TestFunctions {
    3838  [Item("Test Function (single-objective)", "Test function with real valued inputs and a single objective.")]
    39   [StorableClass]
     39  [StorableType("F0AB7236-2C9B-49DC-9D4F-A3558FD9E992")]
    4040  [Creatable(CreatableAttribute.Categories.Problems, Priority = 90)]
    4141  public sealed class SingleObjectiveTestFunctionProblem : SingleObjectiveHeuristicOptimizationProblem<ISingleObjectiveTestFunctionProblemEvaluator, IRealVectorCreator>, IStorableContent, IProblemInstanceConsumer<SOTFData> {
     
    8989
    9090    [StorableConstructor]
    91     private SingleObjectiveTestFunctionProblem(bool deserializing) : base(deserializing) { }
     91    private SingleObjectiveTestFunctionProblem(StorableConstructorFlag _) : base(_) { }
    9292    private SingleObjectiveTestFunctionProblem(SingleObjectiveTestFunctionProblem original, Cloner cloner)
    9393      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.