org.spaceroots.mantissa.optimization
Interface CostFunction


public interface CostFunction

This interface represents a cost function to be minimized.

Version:
$Id: CostFunction.java 1580 2004-07-15 20:13:43Z luc $
Author:
Luc Maisonobe

Method Summary
 double cost(double[] x)
          Compute the cost associated to the given parameters array.
 

Method Detail

cost

public double cost(double[] x)
            throws CostException
Compute 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


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.