OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar > Class Template Reference

Default line search point evaluator using a polynomial linear combination of vectors. More...

#include <OptiPack_DefaultPolyLineSearchPointEvaluator.hpp>

Inheritance diagram for OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar >:

Inheritance graph
[legend]
List of all members.

Constructors/intializers/accessors.

 DefaultPolyLineSearchPointEvaluator ()
 
void initialize (const ArrayView< const RCP< const Thyra::VectorBase< Scalar > > > &vecs)
 

Overridden from LineSearchPointEvaluatorBase.

virtual void computePoint (const ScalarMag &alpha, const Ptr< Thyra::VectorBase< Scalar > > &p) const
 

Public Types

typedef ScalarTraits< Scalar
>::magnitudeType 
ScalarMag
 

Related Functions

(Note that these are not member functions.)

const RCP< DefaultPolyLineSearchPointEvaluator<
Scalar > > 
defaultPolyLineSearchPointEvaluator ()
 Nonmember constructor.

Detailed Description

template<typename Scalar>
class OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar >

Default line search point evaluator using a polynomial linear combination of vectors.

This object computes:

   p = sum( alpha^i * vec[i], i = 0...n-1 )

 

This allows, for instance, a curvy-linear line search algorithm.

Definition at line 56 of file OptiPack_DefaultPolyLineSearchPointEvaluator.hpp.


Member Typedef Documentation

template<typename Scalar>
typedef ScalarTraits<Scalar>::magnitudeType OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar >::ScalarMag

Reimplemented from OptiPack::LineSearchPointEvaluatorBase< Scalar >.

Definition at line 61 of file OptiPack_DefaultPolyLineSearchPointEvaluator.hpp.


Constructor & Destructor Documentation

template<typename Scalar>
OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar >::DefaultPolyLineSearchPointEvaluator (  ) 

Definition at line 112 of file OptiPack_DefaultPolyLineSearchPointEvaluator.hpp.


Member Function Documentation

template<typename Scalar>
void OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar >::initialize ( const ArrayView< const RCP< const Thyra::VectorBase< Scalar > > > &  vecs  ) 

Definition at line 117 of file OptiPack_DefaultPolyLineSearchPointEvaluator.hpp.

template<typename Scalar>
void OptiPack::DefaultPolyLineSearchPointEvaluator< Scalar >::computePoint ( const ScalarMag alpha,
const Ptr< Thyra::VectorBase< Scalar > > &  p 
) const [virtual]

Implements OptiPack::LineSearchPointEvaluatorBase< Scalar >.

Definition at line 132 of file OptiPack_DefaultPolyLineSearchPointEvaluator.hpp.


Friends And Related Function Documentation

template<typename Scalar>
const RCP< DefaultPolyLineSearchPointEvaluator< Scalar > > defaultPolyLineSearchPointEvaluator (  )  [related]

Nonmember constructor.

Definition at line 97 of file OptiPack_DefaultPolyLineSearchPointEvaluator.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:37:13 2010 for OptiPack by  doxygen 1.4.7