CNDSM
1.00
|
Definition of the class Polyak. More...
#include <Polyak.h>
Public Member Functions | |
Constructor | |
Polyak (SubGrad *slvr, istream *iStrm) | |
< Constructor of the class. More... | |
Other initializations | |
void | SetSTPLog (ostream *outs=0, const char lvl=0) |
void | Format (void) |
Computing the stepsize | |
void | NewStep (void) |
![]() | |
Stepsize (SubGrad *slvr, istream *iStrm=0) | |
Constructor of the class. More... | |
Stepsize (SubGrad *slvr, istream *iStrm=0) | |
Constructor of the class. More... | |
virtual bool | NeedsdkM1Gk (void) |
Returns true if the stepsize requires the scalar product ![]() | |
virtual bool | NeedsdkM1Gk (void) |
Returns true if the stepsize requires the scalar product ![]() | |
virtual HpNum | GetStepsize (bool StepIsIncr=false) |
This function must be called after NewStep() [see above]. More... | |
virtual HpNum | GetLev (void) |
This function must be called after NewStep() [see above]. More... | |
virtual HpNum | GetBeta (void) |
This function must be called after NewStep() [see above]. More... | |
virtual HpNum | GetStepsize (bool StepIsIncr=false) |
This function must be called after NewStep() [see above]. More... | |
virtual HpNum | GetLev (void) |
This function must be called after NewStep() [see above]. More... | |
virtual HpNum | GetBeta (void) |
This function must be called after NewStep() [see above]. More... | |
virtual void | SetMaxBeta (const HpNum alpha) |
Changes the maximum value of ![]() | |
virtual void | SetMaxBeta (const HpNum alpha) |
Changes the maximum value of ![]() | |
virtual | ~Stepsize () |
virtual | ~Stepsize () |
Additional Inherited Members | |
![]() | |
HpNum | GetCoeffDefl (void) |
Returns the deflection coefficient ![]() | |
FiOracle * | GetOracle (void) |
Returns the pointer to FiOracle. More... | |
cHpNum | GetGiNorm (void) |
Returns the norm of the subgradient ![]() | |
cHpNum | GetDNorm (void) |
Returns the norm of the direction ![]() | |
cHpNum | GetdGk (void) |
Returns the scalar product ![]() | |
HpNum | GetdkM1Gk (void) |
Returns the scalar product ![]() | |
Index | GetNItIcr (void) |
Returns NItIncr, the parameter for incremental iterations [see SubGrad.h]. | |
cHpNum | ReadFkVal (void) |
Returns FiLambda [ see SubGrad.h ]. More... | |
cHpNum | ReadFiBar (void) |
Returns FiBar [ see SubGrad.h ]. More... | |
HpNum | GetCoeffDefl (void) |
Returns the deflection coefficient ![]() | |
FiOracle * | GetOracle (void) |
Returns the pointer to FiOracle. More... | |
cHpNum | GetGiNorm (void) |
Returns the norm of the subgradient ![]() | |
cHpNum | GetDNorm (void) |
Returns the norm of the direction ![]() | |
cHpNum | GetdGk (void) |
Returns the scalar product ![]() | |
HpNum | GetdkM1Gk (void) |
Returns the scalar product ![]() | |
Index | GetNItIcr (void) |
Returns NItIncr, the parameter for incremental iterations [see SubGrad.h]. | |
cHpNum | ReadFkVal (void) |
Returns FiLambda [ see SubGrad.h ]. More... | |
cHpNum | ReadFiBar (void) |
Returns FiBar [ see SubGrad.h ]. More... | |
![]() | |
SubGrad * | Solver |
(pointer to) the SubGrad solver | |
ostream * | STPLog |
the output stream object | |
char | STPLLvl |
the "level of verbosity" | |
HpNum | FiLev |
the target level ![]() | |
HpNum | Beta |
beta factor ![]() | |
HpNum | MaxBeta |
maximum value for beta factor | |
HpNum | LpsFct |
scaling factor | |
Definition of the class Polyak.
This class implements a target value stepsize rule, whereby and
are constant (they do not depend on $i$).
< Constructor of the class.
Since the constructor of Polyak is executed after the one of Stepsize, the following parameters specific for the Polyak have to be found in the stream after those of the base class [see the comments in the constructor of Stepsize].
References Stepsize::SetSTPLog().