class HCL_EvalLinCombFcnlGrad_d : public HCL_EvaluateFunctionalGrad_d

This class represents the "evaluation" object for HCL_LinCombFcnlGrad_d

Inheritance:


Public Methods

virtual HCL_VectorSpace_d& Domain ()
Domain space access
virtual void Gradient ( HCL_Vector_d & g )
Gradient computes the gradient of the function.
HCL_EvalLinCombFcnlGrad_d ( HCL_VectorSpace_d * d, int n )
Usual constructor
void SetNext ( HCL_EvaluateFunctionalGrad_d * eval, double w )
SetNext allows the next term in the linear combination to be added
virtual double Value ()
Value computes the value of the function.
virtual ostream& Write ( ostream & str )
Debugging information

Inherited from HCL_EvaluateFunctionalGrad_d:

Public Methods

virtual const HCL_Vector_d& GradientRef()
virtual double ValueRef()

Inherited from HCL_Base:

Public Methods

int Count()
void DecCount()
void IncCount()

Private Fields

int ReferenceCount

Documentation

This class represents the "evaluation" object for HCL_LinCombFcnlGrad_d. The evaluation object is an object knowing how to compute the value and gradient of a functional at a single point. For more details, see HCL_LinCombFcnl_d and HCL_EvaluateFunctionalGrad_d.
HCL_EvalLinCombFcnlGrad_d( HCL_VectorSpace_d * d, int n )
Usual constructor. Takes the domain and the number of terms. Each of the terms in the linear combination, consisting of a scalar and a HCL_EvaluateFunctionalGrad_d, must be added with the SetNext method.

virtual HCL_VectorSpace_d& Domain()
Domain space access. Returns a reference to the domain of the functional, which is required to be a vector space.

virtual double Value()
Value computes the value of the function.

virtual void Gradient( HCL_Vector_d & g )
Gradient computes the gradient of the function.

void SetNext( HCL_EvaluateFunctionalGrad_d * eval, double w )
SetNext allows the next term in the linear combination to be added. This method takes the evaluation object and the weight.

virtual ostream& Write( ostream & str )
Debugging information. Prints out the weights and the individual evaluation objects.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de