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.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/Problem.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525using HeuristicLab.Problems.DataAnalysis.Symbolic;
    2626
    2727namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic {
    2828  [Item("Symbolic Trading Problem (single-objective)", "Represents a single-objective symbolic trading problem.")]
    29   [StorableClass]
     29  [StorableType("4E1FFD34-5720-4578-8D9E-AF657E157109")]
    3030  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 150)]
    3131  public class SingleObjectiveProblem : SymbolicDataAnalysisSingleObjectiveProblem<IProblemData, ISingleObjectiveEvaluator, ISymbolicDataAnalysisSolutionCreator>, IProblem {
     
    3434
    3535    [StorableConstructor]
    36     protected SingleObjectiveProblem(bool deserializing) : base(deserializing) { }
     36    protected SingleObjectiveProblem(StorableConstructorFlag _) : base(_) { }
    3737    protected SingleObjectiveProblem(SingleObjectiveProblem original, Cloner cloner) : base(original, cloner) { }
    3838    public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjectiveProblem(this, cloner); }
Note: See TracChangeset for help on using the changeset viewer.