Changeset 13403 for branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Schwefel.cs
- Timestamp:
- 11/25/15 23:24:01 (9 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/Schwefel.cs
r13393 r13403 31 31 /// The Schwefel function (sine root) is implemented as described in Affenzeller, M. and Wagner, S. 2005. Offspring Selection: A New Self-Adaptive Selection Scheme for Genetic Algorithms. Ribeiro, B., Albrecht, R. F., Dobnikar, A., Pearson, D. W., and Steele, N. C. (eds.). Adaptive and Natural Computing Algorithms, pp. 218-221, Springer. 32 32 /// </summary> 33 [Item("Schwefel Evaluator", "Evaluates the Schwefel function (sine root) on a given point. In the given bounds [-500;500] the optimum of this function is close to 0 at (420.968746453712,420.968746453712,...,420.968746453712). It is implemented as described in Affenzeller, M. and Wagner, S. 2005. Offspring Selection: A New Self-Adaptive Selection Scheme for Genetic Algorithms. Ribeiro, B., Albrecht, R. F., Dobnikar, A., Pearson, D. W., and Steele, N. C. (eds.). Adaptive and Natural Computing Algorithms, pp. 218-221, Springer.")]33 [Item("Schwefel", "Evaluates the Schwefel function (sine root) on a given point. In the given bounds [-500;500] the optimum of this function is close to 0 at (420.968746453712,420.968746453712,...,420.968746453712). It is implemented as described in Affenzeller, M. and Wagner, S. 2005. Offspring Selection: A New Self-Adaptive Selection Scheme for Genetic Algorithms. Ribeiro, B., Albrecht, R. F., Dobnikar, A., Pearson, D. W., and Steele, N. C. (eds.). Adaptive and Natural Computing Algorithms, pp. 218-221, Springer.")] 34 34 [StorableClass] 35 public class SchwefelEvaluator : SingleObjectiveTestFunctionProblemEvaluator { 36 public override string FunctionName { get { return "Schwefel"; } } 35 public class Schwefel : SingleObjectiveTestFunction { 37 36 /// <summary> 38 37 /// Returns false as the Schwefel (sine root) function is a minimization problem. … … 67 66 68 67 [StorableConstructor] 69 protected Schwefel Evaluator(bool deserializing) : base(deserializing) { }70 protected Schwefel Evaluator(SchwefelEvaluatororiginal, Cloner cloner) : base(original, cloner) { }71 public Schwefel Evaluator() : base() { }68 protected Schwefel(bool deserializing) : base(deserializing) { } 69 protected Schwefel(Schwefel original, Cloner cloner) : base(original, cloner) { } 70 public Schwefel() : base() { } 72 71 73 72 public override IDeepCloneable Clone(Cloner cloner) { 74 return new Schwefel Evaluator(this, cloner);73 return new Schwefel(this, cloner); 75 74 } 76 75
Note: See TracChangeset
for help on using the changeset viewer.