Changeset 13403 for branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Ackley.cs
 Timestamp:
 11/25/15 23:24:01 (4 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/Ackley.cs
r13393 r13403 32 32 /// is highly multimodal. It has a single global minimum at the origin with value 0. 33 33 /// </summary 34 [Item("Ackley Evaluator", "Evaluates the Ackley function on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, SpringerVerlag Berlin Heidelberg.")]34 [Item("Ackley", "Evaluates the Ackley function on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, SpringerVerlag Berlin Heidelberg.")] 35 35 [StorableClass] 36 public class AckleyEvaluator : SingleObjectiveTestFunctionProblemEvaluator { 37 public override string FunctionName { get { return "Ackley"; } } 36 public class Ackley : SingleObjectiveTestFunction { 38 37 /// <summary> 39 38 /// Returns false as the Ackley function is a minimization problem. … … 68 67 69 68 [StorableConstructor] 70 protected Ackley Evaluator(bool deserializing) : base(deserializing) { }71 protected Ackley Evaluator(AckleyEvaluatororiginal, Cloner cloner) : base(original, cloner) { }72 public Ackley Evaluator() : base() { }69 protected Ackley(bool deserializing) : base(deserializing) { } 70 protected Ackley(Ackley original, Cloner cloner) : base(original, cloner) { } 71 public Ackley() : base() { } 73 72 74 73 public override IDeepCloneable Clone(Cloner cloner) { 75 return new Ackley Evaluator(this, cloner);74 return new Ackley(this, cloner); 76 75 } 77 76
Note: See TracChangeset
for help on using the changeset viewer.