Documentation of 'org.spaceroots.mantissa.optimization.CostFunction' Java class
CostFunction
org.spaceroots.mantissa.optimization

Interface CostFunction



  • public interface CostFunction
    This interface represents a cost function to be minimized.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double cost(double[] x)
      Compute the cost associated to the given parameters array.
    • Method Detail

      • cost

        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

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.