Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SumSquaresEvaluator.cs
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SumSquaresEvaluator.cs
r16453 r16462 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Encodings.RealVectorEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.TestFunctions { … … 31 31 /// </summary> 32 32 [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 [Storable Class]33 [StorableType("B7DFB7C7-0218-4D42-85F0-E427E99DB621")] 34 34 public class SumSquaresEvaluator : SingleObjectiveTestFunctionProblemEvaluator { 35 35 public override string FunctionName { get { return "SumSquares"; } } … … 66 66 67 67 [StorableConstructor] 68 protected SumSquaresEvaluator( bool deserializing) : base(deserializing) { }68 protected SumSquaresEvaluator(StorableConstructorFlag _) : base(_) { } 69 69 protected SumSquaresEvaluator(SumSquaresEvaluator original, Cloner cloner) : base(original, cloner) { } 70 70 public SumSquaresEvaluator() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.