Package planner.utils.objfunctions
Interface ObjectiveFunction
- All Known Implementing Classes:
LinearFunction
,RadialVelocityFunction
public interface ObjectiveFunction
ObjectiveFunction is a class implementing the basic scheme of a function with
the objective of making an estimation out of a set input variables and the
genotype.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Method Summary
Modifier and TypeMethodDescriptiondouble
compute
(double[] genotype, double[] input) Computes an estimation out of a set of input variables and a genotype.default double[]
getInstancesEstimations
(double[] genotype, ArrayList<double[]> instances)
-
Method Details
-
compute
double compute(double[] genotype, double[] input) Computes an estimation out of a set of input variables and a genotype.- Parameters:
genotype
- candidate solution.input
- input variables needed for the estimation.- Returns:
- the estimation.
-
getInstancesEstimations
-