Changeset 4722 for trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RosenbrockEvaluator.cs
- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RosenbrockEvaluator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 68 69 } 69 70 71 [StorableConstructor] 72 protected RosenbrockEvaluator(bool deserializing) : base(deserializing) { } 73 protected RosenbrockEvaluator(RosenbrockEvaluator original, Cloner cloner) : base(original, cloner) { } 74 public RosenbrockEvaluator() : base() { } 75 76 public override IDeepCloneable Clone(Cloner cloner) { 77 return new RosenbrockEvaluator(this, cloner); 78 } 79 70 80 public override RealVector GetBestKnownSolution(int dimension) { 71 81 if (dimension < 2) throw new ArgumentException(Name + ": This function is not defined for 1 dimension.");
Note: See TracChangeset
for help on using the changeset viewer.