ROL
|
#include <ROL_GenMoreauYosidaCVaR.hpp>
Public Member Functions | |
GenMoreauYosidaCVaR (Real prob, Real eps) | |
Constructor. More... | |
GenMoreauYosidaCVaR (Real prob, Real lam, Real eps) | |
Constructor. More... | |
GenMoreauYosidaCVaR (ROL::ParameterList &parlist) | |
Constructor. More... | |
Real | error (Real x, int deriv=0) |
Evaluate the scalar error function at x. More... | |
Real | regret (Real x, int deriv=0) |
Evaluate the scalar regret function at x. More... | |
void | check (void) |
Run default derivative tests for the scalar regret function. More... | |
Public Member Functions inherited from ROL::ExpectationQuad< Real > | |
virtual | ~ExpectationQuad (void) |
ExpectationQuad (void) | |
Private Member Functions | |
void | parseParameterList (ROL::ParameterList &parlist) |
void | checkInputs (void) const |
void | setParameters (void) |
Private Attributes | |
Real | prob_ |
Real | lam_ |
Real | eps_ |
Real | alpha_ |
Real | beta_ |
Real | omp_ |
Real | oma_ |
Real | bmo_ |
Real | lb_ |
Real | ub_ |
Definition at line 71 of file ROL_GenMoreauYosidaCVaR.hpp.
|
inline |
Constructor.
[in] | prob | is the confidence level |
[in] | eps | is the regularization parameter |
Definition at line 134 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
inline |
Constructor.
[in] | prob | is the confidence level |
[in] | lam | is the convex combination parameter |
[in] | eps | is the regularization parameter |
Definition at line 146 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
inline |
Constructor.
[in] | parlist | is a parameter list specifying inputs |
parlist should contain sublists "SOL"->"Risk Measure"->"Moreau-Yosida CVaR" and within the "Moreau-Yosida CVaR" sublist should have the following parameters
Definition at line 162 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), ROL::GenMoreauYosidaCVaR< Real >::parseParameterList(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
inlineprivate |
Definition at line 87 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::eps_, ROL::GenMoreauYosidaCVaR< Real >::lam_, and ROL::GenMoreauYosidaCVaR< Real >::prob_.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR().
|
inlineprivate |
Definition at line 107 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::eps_, ROL::GenMoreauYosidaCVaR< Real >::lam_, ROL::GenMoreauYosidaCVaR< Real >::prob_, and zero.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR().
|
inlineprivate |
Definition at line 117 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::alpha_, ROL::GenMoreauYosidaCVaR< Real >::beta_, ROL::GenMoreauYosidaCVaR< Real >::bmo_, ROL::GenMoreauYosidaCVaR< Real >::eps_, ROL::GenMoreauYosidaCVaR< Real >::lam_, ROL::GenMoreauYosidaCVaR< Real >::lb_, ROL::GenMoreauYosidaCVaR< Real >::oma_, ROL::GenMoreauYosidaCVaR< Real >::omp_, ROL::GenMoreauYosidaCVaR< Real >::prob_, and ROL::GenMoreauYosidaCVaR< Real >::ub_.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR().
|
inlinevirtual |
Evaluate the scalar error function at x.
[in] | x | is the scalar input |
[in] | deriv | is the derivative order |
This function returns \(e(x)\) or a derivative of \(e(x)\).
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 169 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::regret(), and zero.
|
inlinevirtual |
Evaluate the scalar regret function at x.
[in] | x | is the scalar input |
[in] | deriv | is the derivative order |
This function returns \(v(x)\) or a derivative of \(v(x)\).
Implements ROL::ExpectationQuad< Real >.
Definition at line 175 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::alpha_, ROL::GenMoreauYosidaCVaR< Real >::beta_, ROL::GenMoreauYosidaCVaR< Real >::bmo_, ROL::GenMoreauYosidaCVaR< Real >::eps_, ROL::GenMoreauYosidaCVaR< Real >::lb_, ROL::GenMoreauYosidaCVaR< Real >::oma_, ROL::GenMoreauYosidaCVaR< Real >::ub_, and zero.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::check(), and ROL::GenMoreauYosidaCVaR< Real >::error().
|
inlinevirtual |
Run default derivative tests for the scalar regret function.
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 192 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::ExpectationQuad< Real >::check(), ROL::GenMoreauYosidaCVaR< Real >::lb_, ROL::GenMoreauYosidaCVaR< Real >::regret(), ROL::GenMoreauYosidaCVaR< Real >::ub_, and zero.
|
private |
Definition at line 74 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), ROL::GenMoreauYosidaCVaR< Real >::parseParameterList(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 75 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), ROL::GenMoreauYosidaCVaR< Real >::parseParameterList(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
|
private |
Definition at line 78 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 79 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 81 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 82 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 83 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 84 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::check(), ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 85 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::check(), ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().