Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

CostFunction Class Template Reference

#include <costfunction.h>

Inheritance diagram for CostFunction::

LeastSquareFunction List of all members.

Public Methods

virtual value_type value (const V &x)=0
 method to overload to compute the cost functon value in x.

virtual void firstDerivative (V &grad_f, const V &x)
 method to overload to compute grad_f, the first derivative of the cost function with respect to x.

virtual value_type valueAndFirstDerivative (V &grad_f, const V &x)
 method to overload to compute grad_f, the first derivative of the cost function with respect to x and also the cost function.

virtual double finiteDifferenceEpsilon ()
 Default epsilon for finite difference method :.


Detailed Description

template<class V>
class CostFunction< V >

Cost function abstract class for unconstrained optimization pb

Definition at line 20 of file costfunction.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 7 16:26:00 2001 for Optimization by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001