Changeset 4722 for trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BealeEvaluator.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/BealeEvaluator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 65 66 } 66 67 68 [StorableConstructor] 69 protected BealeEvaluator(bool deserializing) : base(deserializing) { } 70 protected BealeEvaluator(BealeEvaluator original, Cloner cloner) : base(original, cloner) { } 71 public BealeEvaluator() : base() { } 72 73 public override IDeepCloneable Clone(Cloner cloner) { 74 return new BealeEvaluator(this, cloner); 75 } 76 67 77 public override RealVector GetBestKnownSolution(int dimension) { 68 78 if (dimension != 2) throw new ArgumentException(Name + ": This function is only defined for 2 dimensions.", "dimension");
Note: See TracChangeset
for help on using the changeset viewer.