ROL
Public Member Functions | Private Attributes | List of all members
ROL::ExpUtility< Real > Class Template Reference

#include <ROL_ExpUtility.hpp>

+ Inheritance diagram for ROL::ExpUtility< Real >:

Public Member Functions

 ExpUtility (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)
 
- Public Member Functions inherited from ROL::RiskMeasure< Real >
virtual ~RiskMeasure ()
 
 RiskMeasure (void)
 

Private Attributes

Teuchos::RCP< Vector< Real > > scaledGradient_
 
Teuchos::RCP< Vector< Real > > dualVector1_
 
Teuchos::RCP< Vector< Real > > dualVector2_
 
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_
 

Detailed Description

template<class Real>
class ROL::ExpUtility< Real >

Definition at line 52 of file ROL_ExpUtility.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::ExpUtility< Real >::ExpUtility ( void  )
inline

Definition at line 60 of file ROL_ExpUtility.hpp.

Member Function Documentation

template<class Real >
void ROL::ExpUtility< Real >::reset ( Teuchos::RCP< Vector< Real > > &  x0,
const Vector< Real > &  x 
)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 62 of file ROL_ExpUtility.hpp.

References ROL::RiskMeasure< Real >::reset().

Referenced by ROL::ExpUtility< Real >::reset().

template<class Real >
void ROL::ExpUtility< Real >::reset ( Teuchos::RCP< Vector< Real > > &  x0,
const Vector< Real > &  x,
Teuchos::RCP< Vector< Real > > &  v0,
const Vector< Real > &  v 
)
inlinevirtual
template<class Real >
void ROL::ExpUtility< Real >::update ( const Real  val,
const Real  weight 
)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 80 of file ROL_ExpUtility.hpp.

template<class Real >
void ROL::ExpUtility< Real >::update ( const Real  val,
const Vector< Real > &  g,
const Real  weight 
)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 84 of file ROL_ExpUtility.hpp.

template<class Real >
void ROL::ExpUtility< Real >::update ( const Real  val,
const Vector< Real > &  g,
const Real  gv,
const Vector< Real > &  hv,
const Real  weight 
)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 90 of file ROL_ExpUtility.hpp.

template<class Real >
Real ROL::ExpUtility< Real >::getValue ( SampleGenerator< Real > &  sampler)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 100 of file ROL_ExpUtility.hpp.

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

template<class Real >
void ROL::ExpUtility< Real >::getGradient ( Vector< Real > &  g,
SampleGenerator< Real > &  sampler 
)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 107 of file ROL_ExpUtility.hpp.

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

template<class Real >
void ROL::ExpUtility< Real >::getHessVec ( Vector< Real > &  hv,
SampleGenerator< Real > &  sampler 
)
inlinevirtual

Reimplemented from ROL::RiskMeasure< Real >.

Definition at line 118 of file ROL_ExpUtility.hpp.

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

Member Data Documentation

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::ExpUtility< Real >::scaledGradient_
private

Definition at line 54 of file ROL_ExpUtility.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::ExpUtility< Real >::dualVector1_
private

Definition at line 55 of file ROL_ExpUtility.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::ExpUtility< Real >::dualVector2_
private

Definition at line 56 of file ROL_ExpUtility.hpp.

template<class Real >
bool ROL::ExpUtility< Real >::firstReset_
private

Definition at line 57 of file ROL_ExpUtility.hpp.


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