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

#include <ROL_MeanDeviationFromTarget.hpp>

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

Public Member Functions

 MeanDeviationFromTarget (Real target, Real order, Real coeff, Teuchos::RCP< PositiveFunction< Real > > &pf)
 
 MeanDeviationFromTarget (std::vector< Real > &target, 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 > target_
 
std::vector< Real > order_
 
std::vector< Real > coeff_
 
std::vector< Real > pval_
 
std::vector< Real > pgv_
 
std::vector< Teuchos::RCP
< Vector< Real > > > 
pg0_
 
std::vector< Teuchos::RCP
< Vector< Real > > > 
pg_
 
std::vector< Teuchos::RCP
< Vector< Real > > > 
phv_
 
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::MeanDeviationFromTarget< Real >

Definition at line 53 of file ROL_MeanDeviationFromTarget.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class Real >
std::vector<Real> ROL::MeanDeviationFromTarget< Real >::target_
private
template<class Real >
std::vector<Real> ROL::MeanDeviationFromTarget< Real >::order_
private
template<class Real >
std::vector<Real> ROL::MeanDeviationFromTarget< Real >::coeff_
private
template<class Real >
std::vector<Real> ROL::MeanDeviationFromTarget< Real >::pval_
private
template<class Real >
std::vector<Real> ROL::MeanDeviationFromTarget< Real >::pgv_
private
template<class Real >
std::vector<Teuchos::RCP<Vector<Real> > > ROL::MeanDeviationFromTarget< Real >::pg0_
private
template<class Real >
std::vector<Teuchos::RCP<Vector<Real> > > ROL::MeanDeviationFromTarget< Real >::pg_
private
template<class Real >
std::vector<Teuchos::RCP<Vector<Real> > > ROL::MeanDeviationFromTarget< Real >::phv_
private
template<class Real >
Teuchos::RCP<PositiveFunction<Real> > ROL::MeanDeviationFromTarget< Real >::positiveFunction_
private

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