|
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. | |
| virtual void | eval (const Scalar &alpha, const Ptr< Scalar > &phi, const Ptr< Scalar > &Dphi) const =0 |
Evaluate the merit function at alpha. | |
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). | |
| 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. | |
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.
| virtual bool GlobiPack::MeritFunc1DBase< Scalar >::supportsDerivEvals | ( | ) | const [pure virtual] |
Determine if derivative evaluations are supported or not.
| virtual void GlobiPack::MeritFunc1DBase< Scalar >::eval | ( | const Scalar & | alpha, |
| const Ptr< Scalar > & | phi, | ||
| const Ptr< Scalar > & | Dphi | ||
| ) | const [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.
| ScalarTraits< Scalar >::magnitudeType computeValue | ( | const MeritFunc1DBase< Scalar > & | phi, |
| const Scalar & | alpha | ||
| ) | [related] |
Compute the value of the merit function phi(alpha).
Definition at line 99 of file GlobiPack_MeritFunc1DBase.hpp.
| PointEval1D< Scalar > computePoint | ( | const MeritFunc1DBase< Scalar > & | phi, |
| const Scalar & | alpha, | ||
| const bool | compute_phi = true, |
||
| const bool | compute_Dphi = false |
||
| ) | [related] |
Compute a point as an object.
Definition at line 113 of file GlobiPack_MeritFunc1DBase.hpp.
1.7.6.1