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/SphereEvaluator.cs

    r16453 r16462  
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
     
    3434  /// </summary>
    3535  [Item("SphereEvaluator", "Evaluates the Sphere function y = C * ||X||^Alpha on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    36   [StorableClass]
     36  [StorableType("F40E2FAA-0491-41EA-9B25-57A87DD2AD25")]
    3737  public class SphereEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3838    public override string FunctionName { get { return "Sphere"; } }
     
    104104
    105105    [StorableConstructor]
    106     protected SphereEvaluator(bool deserializing) : base(deserializing) { }
     106    protected SphereEvaluator(StorableConstructorFlag _) : base(_) { }
    107107    protected SphereEvaluator(SphereEvaluator original, Cloner cloner) : base(original, cloner) { }
    108108    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.