ROL
ROL::TypeP Namespace Reference

Classes

class  Algorithm
 Provides an interface to run optimization algorithms to minimize composite optimization problems f+phi. More...
struct  AlgorithmState
class  InexactNewtonAlgorithm
 Provides an interface to run the inexact proximal Newton algorithm. More...
class  iPianoAlgorithm
 Provides an interface to run the proximal gradient algorithm. More...
class  ProxGradientAlgorithm
 Provides an interface to run the proximal gradient algorithm. More...
class  QuasiNewtonAlgorithm
 Provides an interface to run the projected secant algorithm. More...
class  SpectralGradientAlgorithm
 Provides an interface to run the proximal gradient algorithm. More...
class  TrustRegionAlgorithm
 Provides an interface to run the trust-region algorithm. More...

Enumerations

enum  EAlgorithmP {
  ALGORITHM_P_LINESEARCH = 0 , ALGORITHM_P_TRUSTREGION , ALGORITHM_P_SPECTRALGRADIENT , ALGORITHM_P_IPIANO ,
  ALGORITHM_P_LAST
}
enum  ETrustRegionP { TRUSTREGION_P_SPG = 0 , TRUSTREGION_P_SPG2 , TRUSTREGION_P_NCG , TRUSTREGION_P_LAST }

Functions

std::string EAlgorithmPToString (EAlgorithmP alg)
int isValidAlgorithmP (EAlgorithmP alg)
 Verifies validity of a AlgorithmP enum.
EAlgorithmPoperator++ (EAlgorithmP &type)
EAlgorithmP operator++ (EAlgorithmP &type, int)
EAlgorithmPoperator-- (EAlgorithmP &type)
EAlgorithmP operator-- (EAlgorithmP &type, int)
EAlgorithmP StringToEAlgorithmP (std::string s)
template<typename Real>
Ptr< Algorithm< Real > > AlgorithmFactory (ParameterList &parlist)
std::string ETrustRegionPToString (ETrustRegionP alg)
int isValidTrustRegionP (ETrustRegionP alg)
ETrustRegionPoperator++ (ETrustRegionP &type)
ETrustRegionP operator++ (ETrustRegionP &type, int)
ETrustRegionPoperator-- (ETrustRegionP &type)
ETrustRegionP operator-- (ETrustRegionP &type, int)
ETrustRegionP StringToETrustRegionP (std::string s)

Enumeration Type Documentation

◆ EAlgorithmP

Enumerator
ALGORITHM_P_LINESEARCH 
ALGORITHM_P_TRUSTREGION 
ALGORITHM_P_SPECTRALGRADIENT 
ALGORITHM_P_IPIANO 
ALGORITHM_P_LAST 

Definition at line 66 of file ROL_TypeP_AlgorithmFactory.hpp.

◆ ETrustRegionP

Enumerator
TRUSTREGION_P_SPG 
TRUSTREGION_P_SPG2 
TRUSTREGION_P_NCG 
TRUSTREGION_P_LAST 

Definition at line 59 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

Function Documentation

◆ EAlgorithmPToString()

std::string ROL::TypeP::EAlgorithmPToString ( EAlgorithmP alg)
inline

◆ isValidAlgorithmP()

int ROL::TypeP::isValidAlgorithmP ( EAlgorithmP alg)
inline

Verifies validity of a AlgorithmP enum.

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

Definition at line 92 of file ROL_TypeP_AlgorithmFactory.hpp.

References ALGORITHM_P_IPIANO, ALGORITHM_P_LAST, ALGORITHM_P_LINESEARCH, ALGORITHM_P_SPECTRALGRADIENT, and ALGORITHM_P_TRUSTREGION.

◆ operator++() [1/4]

EAlgorithmP & ROL::TypeP::operator++ ( EAlgorithmP & type)
inline

Definition at line 101 of file ROL_TypeP_AlgorithmFactory.hpp.

◆ operator++() [2/4]

EAlgorithmP ROL::TypeP::operator++ ( EAlgorithmP & type,
int  )
inline

Definition at line 105 of file ROL_TypeP_AlgorithmFactory.hpp.

◆ operator--() [1/4]

EAlgorithmP & ROL::TypeP::operator-- ( EAlgorithmP & type)
inline

Definition at line 111 of file ROL_TypeP_AlgorithmFactory.hpp.

◆ operator--() [2/4]

EAlgorithmP ROL::TypeP::operator-- ( EAlgorithmP & type,
int  )
inline

Definition at line 115 of file ROL_TypeP_AlgorithmFactory.hpp.

◆ StringToEAlgorithmP()

EAlgorithmP ROL::TypeP::StringToEAlgorithmP ( std::string s)
inline

◆ AlgorithmFactory()

template<typename Real>
Ptr< Algorithm< Real > > ROL::TypeP::AlgorithmFactory ( ParameterList & parlist)
inline

◆ ETrustRegionPToString()

std::string ROL::TypeP::ETrustRegionPToString ( ETrustRegionP alg)
inline

◆ isValidTrustRegionP()

int ROL::TypeP::isValidTrustRegionP ( ETrustRegionP alg)
inline

◆ operator++() [3/4]

ETrustRegionP & ROL::TypeP::operator++ ( ETrustRegionP & type)
inline

Definition at line 86 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

◆ operator++() [4/4]

ETrustRegionP ROL::TypeP::operator++ ( ETrustRegionP & type,
int  )
inline

Definition at line 90 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

◆ operator--() [3/4]

ETrustRegionP & ROL::TypeP::operator-- ( ETrustRegionP & type)
inline

Definition at line 96 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

◆ operator--() [4/4]

ETrustRegionP ROL::TypeP::operator-- ( ETrustRegionP & type,
int  )
inline

Definition at line 100 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

◆ StringToETrustRegionP()