Package planner.utils.evaluators
Interface Evaluator
- All Known Implementing Classes:
AckleyFunction,CoranaParabolaFunction,GoldsteinFunction,GriewankFunction,HyperEllipsoidFunction,MAE,MAPE,ModifiedPenalizedShubertFunction,MRAE,MSE,MSPE,PenalizedShubertFunction,QuarticFunction,RAE,RastriginFunction,RegressionMetric,RMSE,RMSLE,RMSPE,RosenbrockFunction,ShekelFoxholesFunction,SixHumpCamelFunction,SphereFunction,SSE,StepFunction,TestFunction
public interface Evaluator
Evaluator is an interface for representing an object that can give an
evaluation of the fitness of a candidate solution coded in the genotype.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Method Summary
Modifier and TypeMethodDescriptiondoubleevaluate(double[] genotype) Evaluates a candidate solution.
-
Method Details
-
evaluate
Evaluates a candidate solution.- Parameters:
genotype- candidate solution.- Returns:
- fitness of the candidate solution.
- Throws:
IncompatibleConfigurationException- when the dimension of the problem does not fit with the dimensionality of the function used as evaluator.
-