|
GlobiPack
Version of the Day
|
Base class for 1D merit fucntions used in globalization methods. More...
#include <GlobiPack_MeritFunc1DBase.hpp>

Public Member Functions | |
| virtual bool | supportsDerivEvals () const =0 |
| Determine if derivative evaluations are supported or not. More... | |
| virtual void | eval (const Scalar &alpha, const Ptr< Scalar > &phi, const Ptr< Scalar > &Dphi) const =0 |
Evaluate the merit function at alpha. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename Scalar > | |
| ScalarTraits< Scalar > ::magnitudeType | computeValue (const MeritFunc1DBase< Scalar > &phi, const Scalar &alpha) |
Compute the value of the merit function phi(alpha). More... | |
| template<typename Scalar > | |
| PointEval1D< Scalar > | computePoint (const MeritFunc1DBase< Scalar > &phi, const Scalar &alpha, const bool compute_phi=true, const bool compute_Dphi=false) |
| Compute a point as an object. More... | |
Base class for 1D merit fucntions used in globalization methods.
NOTE: The Scalar type must be a real type since comparions are performed
ToDo: Finish Documentation!
Definition at line 62 of file GlobiPack_MeritFunc1DBase.hpp.
|
pure virtual |
Determine if derivative evaluations are supported or not.
|
pure virtual |
Evaluate the merit function at alpha.
| alpha | [in] The value of the independent variable determining the step length. Typically alpha > 0. |
| phi | [out] The value of the merit function evaluated at alpha. |
| Dphi | [out] The value of the derivative of the merit function evaluated at alpha. |
Preconditions:
If !is_null(Dphi) then supportsDerivEvals() must be true.
|
related |
Compute the value of the merit function phi(alpha).
Definition at line 99 of file GlobiPack_MeritFunc1DBase.hpp.
|
related |
Compute a point as an object.
Definition at line 113 of file GlobiPack_MeritFunc1DBase.hpp.
1.8.5