Changeset 13403 for branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Beale.cs
- Timestamp:
- 11/25/15 23:24:01 (8 years ago)
- Location:
- branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Beale.cs
r13393 r13403 32 32 /// It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM. 33 33 /// </summary> 34 [Item("Beale Evaluator", "Evaluates the Beale function on a given point. The optimum of this function is 0 at (3,0.5). It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.")]34 [Item("Beale", "Evaluates the Beale function on a given point. The optimum of this function is 0 at (3,0.5). It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.")] 35 35 [StorableClass] 36 public class BealeEvaluator : SingleObjectiveTestFunctionProblemEvaluator { 37 public override string FunctionName { get { return "Beale"; } } 36 public class Beale : SingleObjectiveTestFunction { 38 37 /// <summary> 39 38 /// Returns false as the Beale function is a minimization problem. … … 68 67 69 68 [StorableConstructor] 70 protected Beale Evaluator(bool deserializing) : base(deserializing) { }71 protected Beale Evaluator(BealeEvaluatororiginal, Cloner cloner) : base(original, cloner) { }72 public Beale Evaluator() : base() { }69 protected Beale(bool deserializing) : base(deserializing) { } 70 protected Beale(Beale original, Cloner cloner) : base(original, cloner) { } 71 public Beale() : base() { } 73 72 74 73 public override IDeepCloneable Clone(Cloner cloner) { 75 return new Beale Evaluator(this, cloner);74 return new Beale(this, cloner); 76 75 } 77 76
Note: See TracChangeset
for help on using the changeset viewer.