ROL
ROL::PD_BPOE< Real > Class Template Reference

#include <ROL_PD_BPOE.hpp>

Inheritance diagram for ROL::PD_BPOE< Real >:

Public Member Functions

 PD_BPOE (const Real thresh)
void setStorage (const Ptr< ScalarController< Real > > &value_storage, const Ptr< VectorController< Real > > &gradient_storage)
void setHessVecStorage (const Ptr< ScalarController< Real > > &gradvec_storage, const Ptr< VectorController< Real > > &hessvec_storage)
void initialize (const Vector< Real > &x)
void updateValue (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol)
Real getValue (const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler)
void updateGradient (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol)
void getGradient (Vector< Real > &g, std::vector< Real > &gstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler)
void updateHessVec (Objective< Real > &obj, const Vector< Real > &v, const std::vector< Real > &vstat, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol)
void getHessVec (Vector< Real > &hv, std::vector< Real > &hvstat, const Vector< Real > &v, const std::vector< Real > &vstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler)
Public Member Functions inherited from ROL::PD_RandVarFunctional< Real >
 PD_RandVarFunctional (void)
void setData (SampleGenerator< Real > &sampler, const Real pen, const Real lam=0.0)
virtual Real computeDual (SampleGenerator< Real > &sampler)
void updateDual (SampleGenerator< Real > &sampler)
void updatePenalty (const Real pen)

Private Member Functions

void initializeStorage (void)
void clear (void)
void checkInputs (void)

Private Attributes

Real thresh_
Ptr< ScalarController< Real > > values_
Ptr< ScalarController< Real > > gradvecs_
Ptr< VectorController< Real > > gradients_
Ptr< VectorController< Real > > hessvecs_

Additional Inherited Members

Protected Member Functions inherited from ROL::PD_RandVarFunctional< Real >
void setValue (const Real val, const std::vector< Real > &pt)
void getMultiplier (Real &lam, const std::vector< Real > &pt) const
void setMultiplier (Real &lam, const std::vector< Real > &pt)
Real getPenaltyParameter (void) const
Real ppf (const Real x, const Real t, const Real r, const int deriv=0) const

Detailed Description

template<class Real>
class ROL::PD_BPOE< Real >

Definition at line 19 of file ROL_PD_BPOE.hpp.

Constructor & Destructor Documentation

◆ PD_BPOE()

template<class Real>
ROL::PD_BPOE< Real >::PD_BPOE ( const Real thresh)
inline

Member Function Documentation

◆ initializeStorage()

template<class Real>
void ROL::PD_BPOE< Real >::initializeStorage ( void )
inlineprivate

Definition at line 47 of file ROL_PD_BPOE.hpp.

References gradients_, gradvecs_, hessvecs_, and values_.

Referenced by checkInputs().

◆ clear()

template<class Real>
void ROL::PD_BPOE< Real >::clear ( void )
inlineprivate

Definition at line 57 of file ROL_PD_BPOE.hpp.

References gradvecs_, and hessvecs_.

Referenced by initialize().

◆ checkInputs()

template<class Real>
void ROL::PD_BPOE< Real >::checkInputs ( void )
inlineprivate

Definition at line 62 of file ROL_PD_BPOE.hpp.

References initializeStorage().

Referenced by PD_BPOE().

◆ setStorage()

template<class Real>
void ROL::PD_BPOE< Real >::setStorage ( const Ptr< ScalarController< Real > > & value_storage,
const Ptr< VectorController< Real > > & gradient_storage )
inlinevirtual

◆ setHessVecStorage()

template<class Real>
void ROL::PD_BPOE< Real >::setHessVecStorage ( const Ptr< ScalarController< Real > > & gradvec_storage,
const Ptr< VectorController< Real > > & hessvec_storage )
inlinevirtual

◆ initialize()

template<class Real>
void ROL::PD_BPOE< Real >::initialize ( const Vector< Real > & x)
inlinevirtual

Reimplemented from ROL::PD_RandVarFunctional< Real >.

Definition at line 86 of file ROL_PD_BPOE.hpp.

References clear(), and ROL::PD_RandVarFunctional< Real >::initialize().

◆ updateValue()

template<class Real>
void ROL::PD_BPOE< Real >::updateValue ( Objective< Real > & obj,
const Vector< Real > & x,
const std::vector< Real > & xstat,
Real & tol )
inline

◆ getValue()

template<class Real>
Real ROL::PD_BPOE< Real >::getValue ( const Vector< Real > & x,
const std::vector< Real > & xstat,
SampleGenerator< Real > & sampler )
inline

Definition at line 105 of file ROL_PD_BPOE.hpp.

References ROL::SampleGenerator< Real >::sumAll().

◆ updateGradient()

template<class Real>
void ROL::PD_BPOE< Real >::updateGradient ( Objective< Real > & obj,
const Vector< Real > & x,
const std::vector< Real > & xstat,
Real & tol )
inline

◆ getGradient()

template<class Real>
void ROL::PD_BPOE< Real >::getGradient ( Vector< Real > & g,
std::vector< Real > & gstat,
const Vector< Real > & x,
const std::vector< Real > & xstat,
SampleGenerator< Real > & sampler )
inline

Definition at line 130 of file ROL_PD_BPOE.hpp.

References ROL::SampleGenerator< Real >::sumAll().

◆ updateHessVec()

template<class Real>
void ROL::PD_BPOE< Real >::updateHessVec ( Objective< Real > & obj,
const Vector< Real > & v,
const std::vector< Real > & vstat,
const Vector< Real > & x,
const std::vector< Real > & xstat,
Real & tol )
inline

◆ getHessVec()

template<class Real>
void ROL::PD_BPOE< Real >::getHessVec ( Vector< Real > & hv,
std::vector< Real > & hvstat,
const Vector< Real > & v,
const std::vector< Real > & vstat,
const Vector< Real > & x,
const std::vector< Real > & xstat,
SampleGenerator< Real > & sampler )
inline

Definition at line 171 of file ROL_PD_BPOE.hpp.

References ROL::SampleGenerator< Real >::sumAll().

Member Data Documentation

◆ thresh_

template<class Real>
Real ROL::PD_BPOE< Real >::thresh_
private

Definition at line 21 of file ROL_PD_BPOE.hpp.

Referenced by PD_BPOE(), updateGradient(), updateHessVec(), and updateValue().

◆ values_

template<class Real>
Ptr<ScalarController<Real> > ROL::PD_BPOE< Real >::values_
private

Definition at line 23 of file ROL_PD_BPOE.hpp.

Referenced by initializeStorage(), and setStorage().

◆ gradvecs_

template<class Real>
Ptr<ScalarController<Real> > ROL::PD_BPOE< Real >::gradvecs_
private

Definition at line 24 of file ROL_PD_BPOE.hpp.

Referenced by clear(), initializeStorage(), and setHessVecStorage().

◆ gradients_

template<class Real>
Ptr<VectorController<Real> > ROL::PD_BPOE< Real >::gradients_
private

Definition at line 25 of file ROL_PD_BPOE.hpp.

Referenced by initializeStorage(), and setStorage().

◆ hessvecs_

template<class Real>
Ptr<VectorController<Real> > ROL::PD_BPOE< Real >::hessvecs_
private

Definition at line 26 of file ROL_PD_BPOE.hpp.

Referenced by clear(), initializeStorage(), and setHessVecStorage().


The documentation for this class was generated from the following file: