Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 13:41:42 (5 years ago)
Author:
gkronber
Message:

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Optimization

  • trunk/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3030using HeuristicLab.Data;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HEAL.Attic;
    3333using HeuristicLab.PluginInfrastructure;
    3434
     
    3939  [Item("User-Defined Problem", "A problem which can be defined by the user.")]
    4040  [Creatable(CreatableAttribute.Categories.Problems, Priority = 120)]
    41   [StorableClass]
     41  [StorableType("9F18A098-A8B8-4F70-93CF-79FF1496AC8A")]
    4242  public sealed class UserDefinedProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent {
    4343    public string Filename { get; set; }
     
    122122
    123123    [StorableConstructor]
    124     private UserDefinedProblem(bool deserializing) : base(deserializing) { }
     124    private UserDefinedProblem(StorableConstructorFlag _) : base(_) { }
    125125    [StorableHook(HookType.AfterDeserialization)]
    126126    private void AfterDeserialization() {
     
    235235
    236236    [Item("EmptyUserDefinedProblemEvaluator", "A dummy evaluator that will throw an exception when executed.")]
    237     [StorableClass]
     237    [StorableType("E27E4145-6D44-4A9D-B15A-B0E0528ECD0D")]
    238238    [NonDiscoverableType]
    239239    private sealed class EmptyUserDefinedProblemEvaluator : ParameterizedNamedItem, ISingleObjectiveEvaluator {
    240240
    241241      [StorableConstructor]
    242       private EmptyUserDefinedProblemEvaluator(bool deserializing) : base(deserializing) { }
     242      private EmptyUserDefinedProblemEvaluator(StorableConstructorFlag _) : base(_) { }
    243243      private EmptyUserDefinedProblemEvaluator(EmptyUserDefinedProblemEvaluator original, Cloner cloner)
    244244        : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.