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

#include <ROL_GenMoreauYosidaCVaR.hpp>

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

Public Member Functions

 GenMoreauYosidaCVaR (Real prob, Real eps)
 Constructor. More...
 
 GenMoreauYosidaCVaR (Real prob, Real lam, Real eps)
 Constructor. More...
 
 GenMoreauYosidaCVaR (ROL::ParameterList &parlist)
 Constructor. More...
 
Real error (Real x, int deriv=0)
 Evaluate the scalar error function at x. More...
 
Real regret (Real x, int deriv=0)
 Evaluate the scalar regret function at x. More...
 
void check (void)
 Run default derivative tests for the scalar regret function. More...
 
- Public Member Functions inherited from ROL::ExpectationQuad< Real >
virtual ~ExpectationQuad (void)
 
 ExpectationQuad (void)
 

Private Member Functions

void parseParameterList (ROL::ParameterList &parlist)
 
void checkInputs (void) const
 
void setParameters (void)
 

Private Attributes

Real prob_
 
Real lam_
 
Real eps_
 
Real alpha_
 
Real beta_
 
Real omp_
 
Real oma_
 
Real bmo_
 
Real lb_
 
Real ub_
 

Detailed Description

template<class Real>
class ROL::GenMoreauYosidaCVaR< Real >

Definition at line 105 of file ROL_GenMoreauYosidaCVaR.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR ( Real  prob,
Real  eps 
)
inline

Constructor.

Parameters
[in]probis the confidence level
[in]epsis the regularization parameter

Definition at line 168 of file ROL_GenMoreauYosidaCVaR.hpp.

References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().

template<class Real >
ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR ( Real  prob,
Real  lam,
Real  eps 
)
inline

Constructor.

Parameters
[in]probis the confidence level
[in]lamis the convex combination parameter
[in]epsis the regularization parameter

Definition at line 180 of file ROL_GenMoreauYosidaCVaR.hpp.

References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().

template<class Real >
ROL::GenMoreauYosidaCVaR< Real >::GenMoreauYosidaCVaR ( ROL::ParameterList &  parlist)
inline

Constructor.

Parameters
[in]parlistis a parameter list specifying inputs

parlist should contain sublists "SOL"->"Risk Measure"->"Moreau-Yosida CVaR" and within the "Moreau-Yosida CVaR" sublist should have the following parameters

  • "Confidence Level" (between 0 and 1)
  • "Convex Combination Parameter" (between 0 and 1)
  • "Smoothing Parameter" (must be positive)

Definition at line 196 of file ROL_GenMoreauYosidaCVaR.hpp.

References ROL::GenMoreauYosidaCVaR< Real >::checkInputs(), ROL::GenMoreauYosidaCVaR< Real >::parseParameterList(), and ROL::GenMoreauYosidaCVaR< Real >::setParameters().

Member Function Documentation

template<class Real >
void ROL::GenMoreauYosidaCVaR< Real >::parseParameterList ( ROL::ParameterList &  parlist)
inlineprivate
template<class Real >
void ROL::GenMoreauYosidaCVaR< Real >::checkInputs ( void  ) const
inlineprivate
template<class Real >
void ROL::GenMoreauYosidaCVaR< Real >::setParameters ( void  )
inlineprivate
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::error ( Real  x,
int  deriv = 0 
)
inlinevirtual

Evaluate the scalar error function at x.

Parameters
[in]xis the scalar input
[in]derivis the derivative order

This function returns \(e(x)\) or a derivative of \(e(x)\).

Reimplemented from ROL::ExpectationQuad< Real >.

Definition at line 203 of file ROL_GenMoreauYosidaCVaR.hpp.

References ROL::GenMoreauYosidaCVaR< Real >::regret(), and zero.

template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::regret ( Real  x,
int  deriv = 0 
)
inlinevirtual
template<class Real >
void ROL::GenMoreauYosidaCVaR< Real >::check ( void  )
inlinevirtual

Member Data Documentation

template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::prob_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::lam_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::eps_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::alpha_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::beta_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::omp_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::oma_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::bmo_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::lb_
private
template<class Real >
Real ROL::GenMoreauYosidaCVaR< Real >::ub_
private

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