Ignore:
Timestamp:
03/07/19 17:59:36 (2 years ago)
Author:
gkronber
Message:

#2925: adapted to work with new persistence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Problem.cs

    r16660 r16663  
    3838using HeuristicLab.Problems.Instances;
    3939using Variable = HeuristicLab.Problems.DataAnalysis.Symbolic.Variable;
     40using HEAL.Attic;
    4041
    4142namespace HeuristicLab.Problems.DynamicalSystemsModelling {
    4243  [Item("Dynamical Systems Modelling Problem", "TODO")]
    4344  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)]
    44   [StorableClass]
     45  [StorableType("065C6A61-773A-42C9-9DE5-61A5D1D823EB")]
    4546  public sealed class Problem : SingleObjectiveBasicProblem<MultiEncoding>, IRegressionProblem, IProblemInstanceConsumer<IRegressionProblemData>, IProblemInstanceExporter<IRegressionProblemData> {
    4647    #region parameter names
     
    147148    // persistence
    148149    [StorableConstructor]
    149     private Problem(bool deserializing) : base(deserializing) { }
     150    private Problem(StorableConstructorFlag _) : base(_) { }
    150151    [StorableHook(HookType.AfterDeserialization)]
    151152    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.