ROL
ROL::TypeU Namespace Reference

Classes

struct  AlgorithmState
class  Algorithm
 Provides an interface to run unconstrained optimization algorithms. More...
class  BundleAlgorithm
 Provides an interface to run trust-bundle methods for unconstrained optimization algorithms. More...
class  LineSearchAlgorithm
 Provides an interface to run unconstrained line search algorithms. More...
class  TrustRegionAlgorithm
 Provides an interface to run trust-region methods for unconstrained optimization algorithms. More...

Enumerations

enum  EAlgorithmU { ALGORITHM_U_BUNDLE = 0 , ALGORITHM_U_LINESEARCH , ALGORITHM_U_TRUSTREGION , ALGORITHM_U_LAST }

Functions

std::string EAlgorithmUToString (EAlgorithmU alg)
int isValidAlgorithmU (EAlgorithmU alg)
 Verifies validity of a AlgorithmU enum.
EAlgorithmUoperator++ (EAlgorithmU &type)
EAlgorithmU operator++ (EAlgorithmU &type, int)
EAlgorithmUoperator-- (EAlgorithmU &type)
EAlgorithmU operator-- (EAlgorithmU &type, int)
EAlgorithmU StringToEAlgorithmU (std::string s)
template<typename Real>
Ptr< Algorithm< Real > > AlgorithmFactory (ParameterList &parlist, const Ptr< Secant< Real > > &secant=nullPtr)

Enumeration Type Documentation

◆ EAlgorithmU

Enumerator
ALGORITHM_U_BUNDLE 
ALGORITHM_U_LINESEARCH 
ALGORITHM_U_TRUSTREGION 
ALGORITHM_U_LAST 

Definition at line 28 of file ROL_TypeU_AlgorithmFactory.hpp.

Function Documentation

◆ EAlgorithmUToString()

std::string ROL::TypeU::EAlgorithmUToString ( EAlgorithmU alg)
inline

◆ isValidAlgorithmU()

int ROL::TypeU::isValidAlgorithmU ( EAlgorithmU alg)
inline

Verifies validity of a AlgorithmU enum.

Parameters
ls[in] - enum of the AlgorithmU
Returns
1 if the argument is a valid AlgorithmU; 0 otherwise.

Definition at line 52 of file ROL_TypeU_AlgorithmFactory.hpp.

References ALGORITHM_U_BUNDLE, ALGORITHM_U_LAST, ALGORITHM_U_LINESEARCH, and ALGORITHM_U_TRUSTREGION.

◆ operator++() [1/2]

EAlgorithmU & ROL::TypeU::operator++ ( EAlgorithmU & type)
inline

Definition at line 60 of file ROL_TypeU_AlgorithmFactory.hpp.

◆ operator++() [2/2]

EAlgorithmU ROL::TypeU::operator++ ( EAlgorithmU & type,
int  )
inline

Definition at line 64 of file ROL_TypeU_AlgorithmFactory.hpp.

◆ operator--() [1/2]

EAlgorithmU & ROL::TypeU::operator-- ( EAlgorithmU & type)
inline

Definition at line 70 of file ROL_TypeU_AlgorithmFactory.hpp.

◆ operator--() [2/2]

EAlgorithmU ROL::TypeU::operator-- ( EAlgorithmU & type,
int  )
inline

Definition at line 74 of file ROL_TypeU_AlgorithmFactory.hpp.

◆ StringToEAlgorithmU()

EAlgorithmU ROL::TypeU::StringToEAlgorithmU ( std::string s)
inline

◆ AlgorithmFactory()