|
ROL
|
Provides the implementation of the buffered probability of exceedance. More...
#include <ROL_BPOE.hpp>
Inheritance diagram for ROL::BPOE< Real >:Public Member Functions | |
| BPOE (const Real threshold, const Real order=1) | |
| BPOE (Teuchos::ParameterList &parlist) | |
| 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... | |
| Real | getValue (SampleGenerator< Real > &sampler) |
| Return risk measure value. More... | |
| void | update (const Real val, const Vector< Real > &g, const Real weight) |
| Update internal risk measure storage for gradient computation. More... | |
| void | getGradient (Vector< Real > &g, SampleGenerator< Real > &sampler) |
| Return risk measure (sub)gradient. 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... | |
| 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 Attributes | |
| Real | threshold_ |
| Real | order_ |
| Real | xvar_ |
| Real | vvar_ |
| std::vector< Real > | hvec_ |
| Teuchos::RCP< Vector< Real > > | dualVec1_ |
| Teuchos::RCP< Vector< Real > > | dualVec2_ |
| bool | firstReset_ |
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_ |
Provides the implementation of the buffered probability of exceedance.
Let \((\Omega,\mathcal{F},\mathbb{P})\) be a complete space. Here, \(\Omega\) is the set of outcomes, \(\mathcal{F}\subseteq 2^\Omega\) is a \(\sigma\)-algebra of events and \(\mathbb{P}:\mathcal{F}\to[0,1]\) is a probability measure. Moreover, let \(\mathcal{X}\) be a class of random variables.
ROL's BPOE class inherits from ROL::RiskMeasure which is written in a way to exploit parallel sampling.
Definition at line 66 of file ROL_BPOE.hpp.
Definition at line 79 of file ROL_BPOE.hpp.
Definition at line 84 of file ROL_BPOE.hpp.
|
inlinevirtual |
Reset internal risk measure storage. Called for value and gradient computation.
| [out] | x0 | is a user-provided optimization vector |
| [in] | x | is a (potentially) augmented risk vector |
On input, \(x\) carries \(x_0\) and any statistics (scalars) associated with the risk measure.
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 90 of file ROL_BPOE.hpp.
References ROL::RiskMeasure< Real >::reset().
Referenced by ROL::BPOE< Real >::reset().
|
inlinevirtual |
Reset internal risk measure storage. Called for Hessian-times-a-vector computation.
| [out] | x0 | is a user-provided optimization vector |
| [in] | x | is a (potentially) augmented risk vector |
| [out] | v0 | is a user-provided direction vector |
| [in] | v | is a (potentially) augmented risk vector |
On input, \(x\) carries \(x_0\) and any statistics (scalars) associated with the risk measure. Similarly, \(v\) carries \(v_0\) and any statistics (scalars) associated with the risk measure.
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 95 of file ROL_BPOE.hpp.
References ROL::BPOE< Real >::reset().
|
inlinevirtual |
Update internal risk measure storage for value computation.
| [in] | val | is the value of the random variable objective function at the current sample point |
| [in] | weight | is the weight associated with the current sample point |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 112 of file ROL_BPOE.hpp.
References ROL::BPOE< Real >::threshold_.
|
inlinevirtual |
Return risk measure value.
| [in] | sampler | is the ROL::SampleGenerator used to sample the objective function |
Upon return, getValue returns \(\mathcal{R}(f(x_0))\) where \(f(x_0)\) denotes the random variable objective function evaluated at \(x_0\).
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 121 of file ROL_BPOE.hpp.
References ROL::SampleGenerator< Real >::sumAll().
|
inlinevirtual |
Update internal risk measure storage for gradient computation.
| [in] | val | is the value of the random variable objective function at the current sample point |
| [in] | g | is the gradient of the random variable objective function at the current sample point |
| [in] | weight | is the weight associated with the current sample point |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 128 of file ROL_BPOE.hpp.
References ROL::BPOE< Real >::threshold_.
|
inlinevirtual |
Return risk measure (sub)gradient.
| [out] | g | is the (sub)gradient of the risk measure |
| [in] | sampler | is the ROL::SampleGenerator used to sample the objective function |
Upon return, getGradient returns \(\theta\in\partial\mathcal{R}(f(x_0))\) where \(f(x_0)\) denotes the random variable objective function evaluated at \(x_0\) and \(\partial\mathcal{R}(X)\) denotes the subdifferential of \(\mathcal{R}\) at \(X\).
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 140 of file ROL_BPOE.hpp.
References ROL::SampleGenerator< Real >::sumAll().
|
inlinevirtual |
Update internal risk measure storage for Hessian-time-a-vector computation.
| [in] | val | is the value of the random variable objective function at the current sample point |
| [in] | g | is the gradient of the random variable objective function at the current sample point |
| [in] | gv | is the gradient of the random variable objective function at the current sample point applied to the vector v0 |
| [in] | hv | is the Hessian of the random variable objective function at the current sample point applied to the vector v0 |
| [in] | weight | is the weight associated with the current sample point |
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 159 of file ROL_BPOE.hpp.
References ROL::BPOE< Real >::threshold_.
|
inlinevirtual |
Return risk measure Hessian-times-a-vector.
| [out] | hv | is the Hessian-times-a-vector of the risk measure |
| [in] | sampler | is the ROL::SampleGenerator used to sample the objective function |
Upon return, getHessVec returns \(\nabla^2 \mathcal{R}(f(x_0))v_0\) (if available) where \(f(x_0)\) denotes the random variable objective function evaluated at \(x_0\).
Reimplemented from ROL::RiskMeasure< Real >.
Definition at line 182 of file ROL_BPOE.hpp.
References ROL::BPOE< Real >::order_, and ROL::SampleGenerator< Real >::sumAll().
|
private |
Definition at line 68 of file ROL_BPOE.hpp.
Referenced by ROL::BPOE< Real >::update().
|
private |
Definition at line 69 of file ROL_BPOE.hpp.
Referenced by ROL::BPOE< Real >::getHessVec().
|
private |
Definition at line 71 of file ROL_BPOE.hpp.
|
private |
Definition at line 71 of file ROL_BPOE.hpp.
|
private |
Definition at line 73 of file ROL_BPOE.hpp.
Definition at line 74 of file ROL_BPOE.hpp.
Definition at line 74 of file ROL_BPOE.hpp.
|
private |
Definition at line 76 of file ROL_BPOE.hpp.
1.8.13