org.spaceroots.mantissa.optimization
Interface CostFunction
-
public interface CostFunctionThis interface represents a cost function to be minimized.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublecost(double[] x)Compute the cost associated to the given parameters array.
-
-
-
Method Detail
-
cost
double cost(double[] x) throws CostExceptionCompute the cost associated to the given parameters array.- Parameters:
x- parameters array- Returns:
- cost associated to the parameters array
- Throws:
CostException- if no cost can be computed for the parameters- See Also:
PointCostPair
-
-
DataMelt 3.0 © DataMelt by jWork.ORG