10 #ifndef ROL_DESCENTDIRECTION_U_H
11 #define ROL_DESCENTDIRECTION_U_H
23 template <
typename Real>
35 const Real snorm,
const int iter) {}
38 std::string name =
"Undefined";
Provides the interface to evaluate objective functions.
virtual ~DescentDirection_U()
Defines the linear algebra or vector space interface.
virtual std::string printName(void) const
virtual void initialize(const Vector< Real > &x, const Vector< Real > &g)
Provides the interface to compute unconstrained optimization steps for line search.
virtual void update(const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &gold, const Vector< Real > &gnew, const Real snorm, const int iter)
virtual void compute(Vector< Real > &s, Real &snorm, Real &sdotg, int &iter, int &flag, const Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj)=0