ROL
ROL::DykstraProjection< Real > Class Template Reference

#include <ROL_DykstraProjection.hpp>

Inheritance diagram for ROL::DykstraProjection< Real >:

Public Member Functions

 DykstraProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real > > &bnd, const Ptr< Constraint< Real > > &con, const Vector< Real > &mul, const Vector< Real > &res)
 DykstraProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real > > &bnd, const Ptr< Constraint< Real > > &con, const Vector< Real > &mul, const Vector< Real > &res, ParameterList &list)
void project (Vector< Real > &x, std::ostream &stream=std::cout) override
Public Member Functions inherited from ROL::PolyhedralProjection< Real >
virtual ~PolyhedralProjection ()
 PolyhedralProjection (const Ptr< BoundConstraint< Real > > &bnd)
 PolyhedralProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real > > &bnd, const Ptr< Constraint< Real > > &con, const Vector< Real > &mul, const Vector< Real > &res)
const Ptr< Constraint< Real > > getLinearConstraint (void) const
const Ptr< BoundConstraint< Real > > getBoundConstraint (void) const
const Ptr< Vector< Real > > getMultiplier (void) const
const Ptr< Vector< Real > > getResidual (void) const

Private Member Functions

Real residual_1d (const Vector< Real > &x) const
void residual_nd (Vector< Real > &r, const Vector< Real > &y) const
void project_bnd (Vector< Real > &x, const Vector< Real > &y) const
void project_con (Vector< Real > &x, const Vector< Real > &y) const
void project_Dykstra (Vector< Real > &x, std::ostream &stream=std::cout) const

Private Attributes

int dim_
Ptr< Vector< Real > > tmp_
Ptr< Vector< Real > > p_
Ptr< Vector< Real > > q_
Ptr< Vector< Real > > y_
Ptr< Vector< Real > > z_
Real b_
Real cdot_
Real DEFAULT_atol_
Real DEFAULT_rtol_
int DEFAULT_maxit_
int DEFAULT_verbosity_
Real atol_
Real rtol_
int maxit_
int verbosity_

Additional Inherited Members

Protected Attributes inherited from ROL::PolyhedralProjection< Real >
const Ptr< BoundConstraint< Real > > bnd_
const Ptr< Constraint< Real > > con_
Ptr< Vector< Real > > xprim_
Ptr< Vector< Real > > xdual_
Ptr< Vector< Real > > mul_
Ptr< Vector< Real > > res_

Detailed Description

template<typename Real>
class ROL::DykstraProjection< Real >

Definition at line 19 of file ROL_DykstraProjection.hpp.

Constructor & Destructor Documentation

◆ DykstraProjection() [1/2]

◆ DykstraProjection() [2/2]

template<typename Real>
ROL::DykstraProjection< Real >::DykstraProjection ( const Vector< Real > & xprim,
const Vector< Real > & xdual,
const Ptr< BoundConstraint< Real > > & bnd,
const Ptr< Constraint< Real > > & con,
const Vector< Real > & mul,
const Vector< Real > & res,
ParameterList & list )

Member Function Documentation

◆ project()

template<typename Real>
void ROL::DykstraProjection< Real >::project ( Vector< Real > & x,
std::ostream & stream = std::cout )
overridevirtual

◆ residual_1d()

template<typename Real>
Real ROL::DykstraProjection< Real >::residual_1d ( const Vector< Real > & x) const
private

Definition at line 77 of file ROL_DykstraProjection_Def.hpp.

References b_, and ROL::PolyhedralProjection< Real >::xprim_.

Referenced by project_con().

◆ residual_nd()

template<typename Real>
void ROL::DykstraProjection< Real >::residual_nd ( Vector< Real > & r,
const Vector< Real > & y ) const
private

◆ project_bnd()

template<typename Real>
void ROL::DykstraProjection< Real >::project_bnd ( Vector< Real > & x,
const Vector< Real > & y ) const
private

◆ project_con()

◆ project_Dykstra()

template<typename Real>
void ROL::DykstraProjection< Real >::project_Dykstra ( Vector< Real > & x,
std::ostream & stream = std::cout ) const
private

Member Data Documentation

◆ dim_

template<typename Real>
int ROL::DykstraProjection< Real >::dim_
private

Definition at line 21 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_con().

◆ tmp_

template<typename Real>
Ptr<Vector<Real> > ROL::DykstraProjection< Real >::tmp_
private

Definition at line 22 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_Dykstra().

◆ p_

template<typename Real>
Ptr<Vector<Real> > ROL::DykstraProjection< Real >::p_
private

Definition at line 22 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_Dykstra().

◆ q_

template<typename Real>
Ptr<Vector<Real> > ROL::DykstraProjection< Real >::q_
private

Definition at line 22 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_Dykstra().

◆ y_

template<typename Real>
Ptr<Vector<Real> > ROL::DykstraProjection< Real >::y_
private

Definition at line 22 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_Dykstra().

◆ z_

template<typename Real>
Ptr<Vector<Real> > ROL::DykstraProjection< Real >::z_
private

Definition at line 22 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_con().

◆ b_

template<typename Real>
Real ROL::DykstraProjection< Real >::b_
private

Definition at line 23 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and residual_1d().

◆ cdot_

template<typename Real>
Real ROL::DykstraProjection< Real >::cdot_
private

Definition at line 23 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and project_con().

◆ DEFAULT_atol_

template<typename Real>
Real ROL::DykstraProjection< Real >::DEFAULT_atol_
private

Definition at line 25 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and DykstraProjection().

◆ DEFAULT_rtol_

template<typename Real>
Real ROL::DykstraProjection< Real >::DEFAULT_rtol_
private

Definition at line 25 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and DykstraProjection().

◆ DEFAULT_maxit_

template<typename Real>
int ROL::DykstraProjection< Real >::DEFAULT_maxit_
private

Definition at line 26 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and DykstraProjection().

◆ DEFAULT_verbosity_

template<typename Real>
int ROL::DykstraProjection< Real >::DEFAULT_verbosity_
private

Definition at line 26 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), and DykstraProjection().

◆ atol_

template<typename Real>
Real ROL::DykstraProjection< Real >::atol_
private

Definition at line 28 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), DykstraProjection(), and project_Dykstra().

◆ rtol_

template<typename Real>
Real ROL::DykstraProjection< Real >::rtol_
private

Definition at line 28 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), DykstraProjection(), and project_Dykstra().

◆ maxit_

template<typename Real>
int ROL::DykstraProjection< Real >::maxit_
private

Definition at line 29 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), DykstraProjection(), and project_Dykstra().

◆ verbosity_

template<typename Real>
int ROL::DykstraProjection< Real >::verbosity_
private

Definition at line 29 of file ROL_DykstraProjection.hpp.

Referenced by DykstraProjection(), DykstraProjection(), and project_Dykstra().


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