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

#include <ROL_MeanDeviation.hpp>

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

Public Member Functions

 MeanDeviation (Real order, Real coeff, Teuchos::RCP< PositiveFunction< Real > > &pf)
 
 MeanDeviation (std::vector< Real > &order, std::vector< Real > &coeff, Teuchos::RCP< PositiveFunction< Real > > &pf)
 
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 ()
 

Private Attributes

std::vector< Real > order_
 
std::vector< Real > coeff_
 
std::vector< Real > weights_
 
std::vector< Real > value_storage_
 
std::vector< Teuchos::RCP
< Vector< Real > > > 
gradient_storage_
 
std::vector< Teuchos::RCP
< Vector< Real > > > 
hessvec_storage_
 
std::vector< Real > gradvec_storage_
 
Teuchos::RCP< PositiveFunction
< Real > > 
positiveFunction_
 

Additional Inherited Members

- Protected Attributes inherited from ROL::RiskMeasure< Real >
Real val_
 
Real gv_
 
Teuchos::RCP< Vector< Real > > g_
 
Teuchos::RCP< Vector< Real > > hv_
 

Detailed Description

template<class Real>
class ROL::MeanDeviation< Real >

Definition at line 53 of file ROL_MeanDeviation.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::MeanDeviation< Real >::MeanDeviation ( Real  order,
Real  coeff,
Teuchos::RCP< PositiveFunction< Real > > &  pf 
)
inline
template<class Real >
ROL::MeanDeviation< Real >::MeanDeviation ( std::vector< Real > &  order,
std::vector< Real > &  coeff,
Teuchos::RCP< PositiveFunction< Real > > &  pf 
)
inline

Member Function Documentation

template<class Real >
void ROL::MeanDeviation< Real >::reset ( Teuchos::RCP< Vector< Real > > &  x0,
const Vector< Real > &  x 
)
inlinevirtual
template<class Real >
void ROL::MeanDeviation< 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::MeanDeviation< Real >::update ( const Real  val,
const Real  weight 
)
inlinevirtual
template<class Real >
void ROL::MeanDeviation< Real >::update ( const Real  val,
const Vector< Real > &  g,
const Real  weight 
)
inlinevirtual
template<class Real >
void ROL::MeanDeviation< Real >::update ( const Real  val,
const Vector< Real > &  g,
const Real  gv,
const Vector< Real > &  hv,
const Real  weight 
)
inlinevirtual
template<class Real >
Real ROL::MeanDeviation< Real >::getValue ( SampleGenerator< Real > &  sampler)
inlinevirtual
template<class Real >
void ROL::MeanDeviation< Real >::getGradient ( Vector< Real > &  g,
SampleGenerator< Real > &  sampler 
)
inlinevirtual
template<class Real >
void ROL::MeanDeviation< Real >::getHessVec ( Vector< Real > &  hv,
SampleGenerator< Real > &  sampler 
)
inlinevirtual

Member Data Documentation

template<class Real >
std::vector<Real> ROL::MeanDeviation< Real >::order_
private
template<class Real >
std::vector<Real> ROL::MeanDeviation< Real >::coeff_
private
template<class Real >
std::vector<Real> ROL::MeanDeviation< Real >::weights_
private
template<class Real >
std::vector<Real> ROL::MeanDeviation< Real >::value_storage_
private
template<class Real >
std::vector<Teuchos::RCP<Vector<Real> > > ROL::MeanDeviation< Real >::gradient_storage_
private
template<class Real >
std::vector<Teuchos::RCP<Vector<Real> > > ROL::MeanDeviation< Real >::hessvec_storage_
private
template<class Real >
std::vector<Real> ROL::MeanDeviation< Real >::gradvec_storage_
private
template<class Real >
Teuchos::RCP<PositiveFunction<Real> > ROL::MeanDeviation< Real >::positiveFunction_
private

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