Changeset 9444 for branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators
- Timestamp:
- 05/06/13 12:30:18 (12 years ago)
- Location:
- branches/HivePerformance/sources
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 9376,9379,9388,9390,9396,9402-9410,9413,9417,9426-9429,9432-9433,9435-9439,9441-9443
- Property svn:mergeinfo changed
-
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.TestFunctions (added) merged: 9407
- Property svn:mergeinfo changed
-
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/AckleyEvaluator.cs
r9345 r9444 109 109 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 110 110 /// <returns>The result value of the Ackley function at the given point.</returns> 111 public override double Evaluate Function(RealVector point) {111 public override double Evaluate(RealVector point) { 112 112 return Apply(point); 113 113 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BealeEvaluator.cs
r9345 r9444 98 98 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 99 99 /// <returns>The result value of the Beale function at the given point.</returns> 100 public override double Evaluate Function(RealVector point) {100 public override double Evaluate(RealVector point) { 101 101 return Apply(point); 102 102 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BoothEvaluator.cs
r9345 r9444 94 94 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 95 95 /// <returns>The result value of the Booth function at the given point.</returns> 96 public override double Evaluate Function(RealVector point) {96 public override double Evaluate(RealVector point) { 97 97 return Apply(point); 98 98 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/GriewankEvaluator.cs
r9345 r9444 133 133 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 134 134 /// <returns>The result value of the Griewank function at the given point.</returns> 135 public override double Evaluate Function(RealVector point) {135 public override double Evaluate(RealVector point) { 136 136 if (point.Length > 100) 137 137 return Apply(point); -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/LevyEvaluator.cs
r9345 r9444 111 111 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 112 112 /// <returns>The result value of the Levy function at the given point.</returns> 113 public override double Evaluate Function(RealVector point) {113 public override double Evaluate(RealVector point) { 114 114 return Apply(point); 115 115 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/MatyasEvaluator.cs
r9345 r9444 93 93 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 94 94 /// <returns>The result value of the Matyas function at the given point.</returns> 95 public override double Evaluate Function(RealVector point) {95 public override double Evaluate(RealVector point) { 96 96 return Apply(point); 97 97 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/MultinormalEvaluator.cs
r9345 r9444 101 101 102 102 private double FastFindOptimum(out RealVector bestSolution) { 103 var optima = centers.Select((c, i) => new { f = Evaluate Function(c), i }).OrderBy(v => v.f).ToList();103 var optima = centers.Select((c, i) => new { f = Evaluate(c), i }).OrderBy(v => v.f).ToList(); 104 104 if (optima.Count == 0) { 105 105 bestSolution = new RealVector(); … … 161 161 } 162 162 163 public override double Evaluate Function(RealVector point) {163 public override double Evaluate(RealVector point) { 164 164 double value = 0; 165 165 if (centers.Count == 0) { -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RandomEvaluator.cs
r9345 r9444 86 86 } 87 87 88 public override double Evaluate Function(RealVector point) {88 public override double Evaluate(RealVector point) { 89 89 return ExecutionContext == null ? new System.Random().NextDouble() : RandomParameter.ActualValue.NextDouble(); 90 90 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RastriginEvaluator.cs
r9345 r9444 119 119 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 120 120 /// <returns>The result value of the Rastrigin function at the given point.</returns> 121 public override double Evaluate Function(RealVector point) {121 public override double Evaluate(RealVector point) { 122 122 return Apply(point, A.Value); 123 123 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RosenbrockEvaluator.cs
r9345 r9444 105 105 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 106 106 /// <returns>The result value of the Rosenbrock function at the given point.</returns> 107 public override double Evaluate Function(RealVector point) {107 public override double Evaluate(RealVector point) { 108 108 return Apply(point); 109 109 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SchwefelEvaluator.cs
r9345 r9444 96 96 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 97 97 /// <returns>The result value of the Schwefel function at the given point.</returns> 98 public override double Evaluate Function(RealVector point) {98 public override double Evaluate(RealVector point) { 99 99 return Apply(point); 100 100 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SingleObjectiveTestFunctionProblemEvaluator.cs
r9345 r9444 84 84 public override IOperation Apply() { 85 85 RealVector point = PointParameter.ActualValue; 86 double quality = Evaluate Function(point);86 double quality = Evaluate(point); 87 87 QualityParameter.ActualValue = new DoubleValue(quality); 88 88 return base.Apply(); … … 90 90 91 91 public virtual double Evaluate2D(double x, double y) { 92 return Evaluate Function(new RealVector(new double[] { x, y }));92 return Evaluate(new RealVector(new double[] { x, y })); 93 93 } 94 94 … … 98 98 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 99 99 /// <returns>The result value of the function at the given point.</returns> 100 public abstract double Evaluate Function(RealVector point);100 public abstract double Evaluate(RealVector point); 101 101 102 102 /// <summary> -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SphereEvaluator.cs
r9345 r9444 132 132 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 133 133 /// <returns>The result value of the Sphere function at the given point.</returns> 134 public override double Evaluate Function(RealVector point) {134 public override double Evaluate(RealVector point) { 135 135 return Apply(point, C.Value, Alpha.Value); 136 136 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SumSquaresEvaluator.cs
r9345 r9444 96 96 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 97 97 /// <returns>The result value of the Sum Squares function at the given point.</returns> 98 public override double Evaluate Function(RealVector point) {98 public override double Evaluate(RealVector point) { 99 99 return Apply(point); 100 100 } -
branches/HivePerformance/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/ZakharovEvaluator.cs
r9345 r9444 100 100 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 101 101 /// <returns>The result value of the Zakharov function at the given point.</returns> 102 public override double Evaluate Function(RealVector point) {102 public override double Evaluate(RealVector point) { 103 103 return Apply(point); 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.