Changeset 13403 for branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Booth.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/Booth.cs
r13393 r13403 31 31 /// The Booth function is implemented as described on http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page816.htm, last accessed April 12th, 2010. 32 32 /// </summary> 33 [Item("Booth Evaluator", "Evaluates the Booth function on a given point. The optimum of this function is 0 at (1,3). It is implemented as described on http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page816.htm, last accessed April 12th, 2010.")]33 [Item("Booth", "Evaluates the Booth function on a given point. The optimum of this function is 0 at (1,3). It is implemented as described on http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page816.htm, last accessed April 12th, 2010.")] 34 34 [StorableClass] 35 public class BoothEvaluator : SingleObjectiveTestFunctionProblemEvaluator { 36 public override string FunctionName { get { return "Booth"; } } 35 public class Booth : SingleObjectiveTestFunction { 37 36 /// <summary> 38 37 /// Returns false as the Booth function is a minimization problem. … … 67 66 68 67 [StorableConstructor] 69 protected Booth Evaluator(bool deserializing) : base(deserializing) { }70 protected Booth Evaluator(BoothEvaluatororiginal, Cloner cloner) : base(original, cloner) { }71 public Booth Evaluator() : base() { }68 protected Booth(bool deserializing) : base(deserializing) { } 69 protected Booth(Booth original, Cloner cloner) : base(original, cloner) { } 70 public Booth() : base() { } 72 71 73 72 public override IDeepCloneable Clone(Cloner cloner) { 74 return new Booth Evaluator(this, cloner);73 return new Booth(this, cloner); 75 74 } 76 75
Note: See TracChangeset
for help on using the changeset viewer.