10#ifndef ROL_TYPEU_ALGORITHM_FACTORY_H
11#define ROL_TYPEU_ALGORITHM_FACTORY_H
36 std::string retString;
42 default: retString =
"INVALID EAlgorithmU";
90template<
typename Real>
92 std::string stepType = parlist.sublist(
"Step").get(
"Type",
"Trust Region");
98 default:
return nullPtr;
Contains definitions of custom data types in ROL.
Provides interface for and implements limited-memory secant operators.
EAlgorithmU & operator--(EAlgorithmU &type)
EAlgorithmU StringToEAlgorithmU(std::string s)
EAlgorithmU & operator++(EAlgorithmU &type)
int isValidAlgorithmU(EAlgorithmU alg)
Verifies validity of a AlgorithmU enum.
@ ALGORITHM_U_TRUSTREGION
std::string EAlgorithmUToString(EAlgorithmU alg)
Ptr< Algorithm< Real > > AlgorithmFactory(ParameterList &parlist, const Ptr< Secant< Real > > &secant=nullPtr)
std::string removeStringFormat(std::string s)