Changeset 9346 for branches/FitnessLandscapeAnalysis
- Timestamp:
- 04/09/13 09:15:23 (12 years ago)
- Location:
- branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/TestFunctions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/TestFunctions/CustomAdditiveMoveEvaluator.cs
r7128 r9346 56 56 var eval = EvaluatorParameter.ActualValue as CustomEvaluator; 57 57 if (eval != null) 58 return eval.Evaluate (vector);58 return eval.EvaluateFunction(vector); 59 59 throw new InvalidOperationException("evaluator is not a custom evaluator"); 60 60 } -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/TestFunctions/CustomEvaluator.cs
r7128 r9346 64 64 } 65 65 66 public double Evaluate(RealVector point) { 67 return EvaluateFunction(point); 68 } 69 70 protected override double EvaluateFunction(RealVector point) { 66 public override double EvaluateFunction(RealVector point) { 71 67 if (point[0] < 0 || point[1] < 0) 72 68 return 0;
Note: See TracChangeset
for help on using the changeset viewer.