Changeset 13403 for branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Rosenbrock.cs
 Timestamp:
 11/25/15 23:24:01 (5 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/Rosenbrock.cs
r13393 r13403 32 32 /// It is implemented as generalized Rosenbrock function as for example given in Shang, Y.W. and Qiu, Y.H. 2006. A Note on the Extended Rosenbrock Function. Evolutionary Computation 14, pp. 119126, MIT Press. 33 33 /// </summary> 34 [Item("Rosenbrock Evaluator", @"The Rosenbrock function features a flat valley in which the global optimum is located.34 [Item("Rosenbrock", @"The Rosenbrock function features a flat valley in which the global optimum is located. 35 35 For 2 and 3 dimensions the single minimum of this function is 0 at (1,1,...,1), for 4 to 30 dimensions there is an additional local minimum close to (1,1,...,1). 36 36 It is unknown how many local minima there are for dimensions greater than 30. 37 37 It is implemented as generalized Rosenbrock function for which the 2 dimensional function is a special case, as for example given in Shang, Y.W. and Qiu, Y.H. 2006. A Note on the Extended Rosenbrock Function. Evolutionary Computation 14, pp. 119126, MIT Press.")] 38 38 [StorableClass] 39 public class RosenbrockEvaluator : SingleObjectiveTestFunctionProblemEvaluator { 40 public override string FunctionName { get { return "Rosenbrock"; } } 39 public class Rosenbrock : SingleObjectiveTestFunction { 41 40 /// <summary> 42 41 /// Returns false as the Rosenbrock function is a minimization problem. … … 71 70 72 71 [StorableConstructor] 73 protected Rosenbrock Evaluator(bool deserializing) : base(deserializing) { }74 protected Rosenbrock Evaluator(RosenbrockEvaluatororiginal, Cloner cloner) : base(original, cloner) { }75 public Rosenbrock Evaluator() : base() { }72 protected Rosenbrock(bool deserializing) : base(deserializing) { } 73 protected Rosenbrock(Rosenbrock original, Cloner cloner) : base(original, cloner) { } 74 public Rosenbrock() : base() { } 76 75 77 76 public override IDeepCloneable Clone(Cloner cloner) { 78 return new Rosenbrock Evaluator(this, cloner);77 return new Rosenbrock(this, cloner); 79 78 } 80 79
Note: See TracChangeset
for help on using the changeset viewer.