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

    r16453 r16462  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Problems.TestFunctions {
     
    3131  /// </summary>
    3232  [Item("SumSquaresEvaluator", "Evaluates the sum squares function on a given point. The optimum of this function is 0 at the origin. The Sum Squares function is defined as sum(i * x_i * x_i) for i = 1..n.")]
    33   [StorableClass]
     33  [StorableType("B7DFB7C7-0218-4D42-85F0-E427E99DB621")]
    3434  public class SumSquaresEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3535    public override string FunctionName { get { return "SumSquares"; } }
     
    6666
    6767    [StorableConstructor]
    68     protected SumSquaresEvaluator(bool deserializing) : base(deserializing) { }
     68    protected SumSquaresEvaluator(StorableConstructorFlag _) : base(_) { }
    6969    protected SumSquaresEvaluator(SumSquaresEvaluator original, Cloner cloner) : base(original, cloner) { }
    7070    public SumSquaresEvaluator() : base() { }
Note: See TracChangeset for help on using the changeset viewer.