ROL
ROL::PD_RandVarFunctional< Real > Class Template Reference

#include <ROL_PD_RandVarFunctional.hpp>

Inheritance diagram for ROL::PD_RandVarFunctional< Real >:

Public Member Functions

 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)
virtual void setStorage (const Ptr< ScalarController< Real > > &value_storage, const Ptr< VectorController< Real > > &gradient_storage)
virtual void setHessVecStorage (const Ptr< ScalarController< Real > > &gradvec_storage, const Ptr< VectorController< Real > > &hessvec_storage)
virtual void initialize (const Vector< Real > &x)

Protected Member Functions

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

Private Types

typedef std::vector< Real >::size_type uint

Private Attributes

Real pen_
int update_
bool setData_
Ptr< ScalarController< Real > > values_
Ptr< ScalarController< Real > > multipliers_
Ptr< ScalarController< Real > > multipliers_new_

Detailed Description

template<class Real>
class ROL::PD_RandVarFunctional< Real >

Definition at line 18 of file ROL_PD_RandVarFunctional.hpp.

Member Typedef Documentation

◆ uint

template<class Real>
typedef std::vector<Real>::size_type ROL::PD_RandVarFunctional< Real >::uint
private

Definition at line 19 of file ROL_PD_RandVarFunctional.hpp.

Constructor & Destructor Documentation

◆ PD_RandVarFunctional()

Member Function Documentation

◆ setValue()

template<class Real>
void ROL::PD_RandVarFunctional< Real >::setValue ( const Real val,
const std::vector< Real > & pt )
inlineprotected

◆ getMultiplier()

◆ setMultiplier()

template<class Real>
void ROL::PD_RandVarFunctional< Real >::setMultiplier ( Real & lam,
const std::vector< Real > & pt )
inlineprotected

Definition at line 40 of file ROL_PD_RandVarFunctional.hpp.

References multipliers_new_.

Referenced by ROL::PD_HMCR2< Real >::computeDual().

◆ getPenaltyParameter()

◆ ppf()

◆ setData()

template<class Real>
void ROL::PD_RandVarFunctional< Real >::setData ( SampleGenerator< Real > & sampler,
const Real pen,
const Real lam = 0.0 )
inline

◆ computeDual()

◆ updateDual()

◆ updatePenalty()

template<class Real>
void ROL::PD_RandVarFunctional< Real >::updatePenalty ( const Real pen)
inline

Definition at line 114 of file ROL_PD_RandVarFunctional.hpp.

References pen_.

◆ setStorage()

◆ setHessVecStorage()

◆ initialize()

Member Data Documentation

◆ pen_

template<class Real>
Real ROL::PD_RandVarFunctional< Real >::pen_
private

◆ update_

template<class Real>
int ROL::PD_RandVarFunctional< Real >::update_
private

Definition at line 22 of file ROL_PD_RandVarFunctional.hpp.

Referenced by computeDual(), and PD_RandVarFunctional().

◆ setData_

template<class Real>
bool ROL::PD_RandVarFunctional< Real >::setData_
private

Definition at line 23 of file ROL_PD_RandVarFunctional.hpp.

Referenced by PD_RandVarFunctional(), and setData().

◆ values_

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

Definition at line 25 of file ROL_PD_RandVarFunctional.hpp.

Referenced by computeDual(), PD_RandVarFunctional(), and setValue().

◆ multipliers_

template<class Real>
Ptr<ScalarController<Real> > ROL::PD_RandVarFunctional< Real >::multipliers_
private

◆ multipliers_new_

template<class Real>
Ptr<ScalarController<Real> > ROL::PD_RandVarFunctional< Real >::multipliers_new_
private

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