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.TestFunctions/3.3/Evaluators/BealeEvaluator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3333  /// </summary>
    3434  [Item("BealeEvaluator", "Evaluates the Beale function on a given point. The optimum of this function is 0 at (3,0.5). It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.")]
    35   [StorableClass]
     35  [StorableType("EC1E155C-65ED-4603-A442-357ECC1E8F3D")]
    3636  public class BealeEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3737    public override string FunctionName { get { return "Beale"; } }
     
    6868
    6969    [StorableConstructor]
    70     protected BealeEvaluator(bool deserializing) : base(deserializing) { }
     70    protected BealeEvaluator(StorableConstructorFlag _) : base(_) { }
    7171    protected BealeEvaluator(BealeEvaluator original, Cloner cloner) : base(original, cloner) { }
    7272    public BealeEvaluator() : base() { }
Note: See TracChangeset for help on using the changeset viewer.