ROL
|
#include <ROL_ExpectationQuad.hpp>
Public Member Functions | |
ExpectationQuad (void) | |
virtual Real | regret (Real x, int deriv=0)=0 |
virtual void | checkRegret (void) |
void | reset (Teuchos::RCP< Vector< Real > > &x0, const Vector< Real > &x) |
void | reset (Teuchos::RCP< Vector< Real > > &x0, const Vector< Real > &x, Teuchos::RCP< Vector< Real > > &v0, const Vector< Real > &v) |
void | update (const Real val, const Real weight) |
void | update (const Real val, const Vector< Real > &g, const Real weight) |
void | update (const Real val, const Vector< Real > &g, const Real gv, const Vector< Real > &hv, const Real weight) |
Real | getValue (SampleGenerator< Real > &sampler) |
void | getGradient (Vector< Real > &g, SampleGenerator< Real > &sampler) |
void | getHessVec (Vector< Real > &hv, SampleGenerator< Real > &sampler) |
![]() | |
virtual | ~RiskMeasure () |
Private Attributes | |
Real | xstat_ |
Real | vstat_ |
Additional Inherited Members | |
![]() | |
Real | val_ |
Real | gv_ |
Teuchos::RCP< Vector< Real > > | g_ |
Teuchos::RCP< Vector< Real > > | hv_ |
Definition at line 54 of file ROL_ExpectationQuad.hpp.
|
inline |
Definition at line 60 of file ROL_ExpectationQuad.hpp.
|
pure virtual |
Implemented in ROL::SmoothCVaRQuad< Real >.
Referenced by ROL::ExpectationQuad< Real >::checkRegret(), and ROL::ExpectationQuad< Real >::update().
|
inlinevirtual |
Reimplemented in ROL::SmoothCVaRQuad< Real >.
Definition at line 64 of file ROL_ExpectationQuad.hpp.
References ROL::ExpectationQuad< Real >::regret().
Referenced by ROL::SmoothCVaRQuad< Real >::checkRegret().
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 172 of file ROL_ExpectationQuad.hpp.
References ROL::CVaRVector< Real >::getVaR(), ROL::CVaRVector< Real >::getVector(), and ROL::ExpectationQuad< Real >::xstat_.
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 182 of file ROL_ExpectationQuad.hpp.
References ROL::CVaRVector< Real >::getVaR(), ROL::CVaRVector< Real >::getVector(), ROL::ExpectationQuad< Real >::vstat_, and ROL::ExpectationQuad< Real >::xstat_.
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 197 of file ROL_ExpectationQuad.hpp.
References ROL::ExpectationQuad< Real >::regret(), and ROL::ExpectationQuad< Real >::xstat_.
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 202 of file ROL_ExpectationQuad.hpp.
References ROL::ExpectationQuad< Real >::regret(), and ROL::ExpectationQuad< Real >::xstat_.
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 208 of file ROL_ExpectationQuad.hpp.
References ROL::ExpectationQuad< Real >::regret(), ROL::ExpectationQuad< Real >::vstat_, and ROL::ExpectationQuad< Real >::xstat_.
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 217 of file ROL_ExpectationQuad.hpp.
References ROL::SampleGenerator< Real >::sumAll(), and ROL::ExpectationQuad< Real >::xstat_.
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 225 of file ROL_ExpectationQuad.hpp.
References ROL::CVaRVector< Real >::setVaR(), ROL::CVaRVector< Real >::setVector(), and ROL::SampleGenerator< Real >::sumAll().
|
inlinevirtual |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 238 of file ROL_ExpectationQuad.hpp.
References ROL::CVaRVector< Real >::setVaR(), ROL::CVaRVector< Real >::setVector(), and ROL::SampleGenerator< Real >::sumAll().
|
private |
Definition at line 56 of file ROL_ExpectationQuad.hpp.
Referenced by ROL::ExpectationQuad< Real >::getValue(), ROL::ExpectationQuad< Real >::reset(), and ROL::ExpectationQuad< Real >::update().
|
private |
Definition at line 57 of file ROL_ExpectationQuad.hpp.
Referenced by ROL::ExpectationQuad< Real >::reset(), and ROL::ExpectationQuad< Real >::update().