|
ROL
|
#include <ROL_GenMoreauYosidaCVaR.hpp>
Inheritance diagram for ROL::GenMoreauYosidaCVaR< Real >:Public Member Functions | |
| GenMoreauYosidaCVaR (Real prob, Real eps) | |
| Constructor. More... | |
| GenMoreauYosidaCVaR (Real prob, Real lam, Real eps) | |
| Constructor. More... | |
| GenMoreauYosidaCVaR (Teuchos::ParameterList &parlist) | |
| Constructor. More... | |
| Real | error (Real x, int deriv=0) |
| Real | regret (Real x, int deriv=0) |
| Evaluate the scalar regret function at x. More... | |
| void | checkRegret (void) |
| Run default derivative tests for the scalar regret function. More... | |
Public Member Functions inherited from ROL::ExpectationQuad< Real > | |
| ExpectationQuad (void) | |
| void | reset (Teuchos::RCP< Vector< Real > > &x0, const Vector< Real > &x) |
| Reset internal risk measure storage. Called for value and gradient computation. More... | |
| void | reset (Teuchos::RCP< Vector< Real > > &x0, const Vector< Real > &x, Teuchos::RCP< Vector< Real > > &v0, const Vector< Real > &v) |
| Reset internal risk measure storage. Called for Hessian-times-a-vector computation. More... | |
| void | update (const Real val, const Real weight) |
| Update internal risk measure storage for value computation. More... | |
| void | update (const Real val, const Vector< Real > &g, const Real weight) |
| Update internal risk measure storage for gradient computation. More... | |
| void | update (const Real val, const Vector< Real > &g, const Real gv, const Vector< Real > &hv, const Real weight) |
| Update internal risk measure storage for Hessian-time-a-vector computation. More... | |
| Real | getValue (SampleGenerator< Real > &sampler) |
| Return risk measure value. More... | |
| void | getGradient (Vector< Real > &g, SampleGenerator< Real > &sampler) |
| Return risk measure (sub)gradient. More... | |
| void | getHessVec (Vector< Real > &hv, SampleGenerator< Real > &sampler) |
| Return risk measure Hessian-times-a-vector. More... | |
Public Member Functions inherited from ROL::RiskMeasure< Real > | |
| virtual | ~RiskMeasure () |
| RiskMeasure (void) | |
Private Member Functions | |
| 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_ |
Additional Inherited Members | |
Protected Attributes inherited from ROL::RiskMeasure< Real > | |
| Real | val_ |
| Real | gv_ |
| Teuchos::RCP< Vector< Real > > | g_ |
| Teuchos::RCP< Vector< Real > > | hv_ |
| Teuchos::RCP< Vector< Real > > | dualVector_ |
| bool | firstReset_ |
Definition at line 105 of file ROL_GenMoreauYosidaCVaR.hpp.
|
inline |
Constructor.
| [in] | prob | is the confidence level |
| [in] | eps | is the regularization parameter |
Definition at line 148 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 160 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 176 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
inlineprivate |
Definition at line 121 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR().
|
inlineprivate |
Definition at line 131 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::alpha_, ROL::GenMoreauYosidaCVaR< Real >::bmo_, ROL::GenMoreauYosidaCVaR< Real >::lam_, ROL::GenMoreauYosidaCVaR< Real >::oma_, and ROL::GenMoreauYosidaCVaR< Real >::prob_.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR().
|
inline |
Definition at line 187 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::regret().
|
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 193 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::GenMoreauYosidaCVaR< Real >::alpha_, ROL::GenMoreauYosidaCVaR< Real >::beta_, and ROL::GenMoreauYosidaCVaR< Real >::eps_.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::checkRegret(), and ROL::GenMoreauYosidaCVaR< Real >::error().
|
inlinevirtual |
Run default derivative tests for the scalar regret function.
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 210 of file ROL_GenMoreauYosidaCVaR.hpp.
References ROL::ExpectationQuad< Real >::checkRegret(), ROL::GenMoreauYosidaCVaR< Real >::lb_, ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::ub_.
|
private |
Definition at line 108 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 109 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 110 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret().
|
private |
Definition at line 112 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 113 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::regret().
|
private |
Definition at line 115 of file ROL_GenMoreauYosidaCVaR.hpp.
|
private |
Definition at line 116 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 117 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::setParameters().
|
private |
Definition at line 118 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::checkRegret().
|
private |
Definition at line 119 of file ROL_GenMoreauYosidaCVaR.hpp.
Referenced by ROL::GenMoreauYosidaCVaR< Real >::checkRegret().
1.8.13