44 #ifndef OPTIPACK_LINE_SEARCH_POINT_EVALUATOR_BASE_HPP
45 #define OPTIPACK_LINE_SEARCH_POINT_EVALUATOR_BASE_HPP
48 #include "OptiPack_Types.hpp"
49 #include "Thyra_OperatorVectorTypes.hpp"
50 #include "Teuchos_Describable.hpp"
60 template<
typename Scalar>
62 :
public Teuchos::Describable
67 typedef typename ScalarTraits<Scalar>::magnitudeType
ScalarMag;
73 const Ptr<Thyra::VectorBase<Scalar> > &p
Base class interface for line search point updates.
virtual void computePoint(const ScalarMag &alpha, const Ptr< Thyra::VectorBase< Scalar > > &p) const =0
Compute the updated point p at alpha for a linear search algorithm.
ScalarTraits< Scalar >::magnitudeType ScalarMag