class ROOT::Minuit2::MnStrategy


    API class for defining three levels of strategies: low (0), medium (1),
    high (>=2);
    acts on: Migrad (behavioural),
             Minos (lowers strategy by 1 for Minos-own minimization),
	     Hesse (iterations),
	     Numerical2PDerivative (iterations)

Function Members (Methods)

public:
~MnStrategy()
unsigned intGradientNCycles() const
doubleGradientStepTolerance() const
doubleGradientTolerance() const
doubleHessianG2Tolerance() const
unsigned intHessianGradientNCycles() const
unsigned intHessianNCycles() const
doubleHessianStepTolerance() const
boolIsHigh() const
boolIsLow() const
boolIsMedium() const
ROOT::Minuit2::MnStrategyMnStrategy()
ROOT::Minuit2::MnStrategyMnStrategy(unsigned int)
ROOT::Minuit2::MnStrategyMnStrategy(const ROOT::Minuit2::MnStrategy&)
ROOT::Minuit2::MnStrategy&operator=(const ROOT::Minuit2::MnStrategy&)
voidSetGradientNCycles(unsigned int n)
voidSetGradientStepTolerance(double stp)
voidSetGradientTolerance(double toler)
voidSetHessianG2Tolerance(double toler)
voidSetHessianGradientNCycles(unsigned int n)
voidSetHessianNCycles(unsigned int n)
voidSetHessianStepTolerance(double stp)
voidSetHighStrategy()
voidSetLowStrategy()
voidSetMediumStrategy()
unsigned intStrategy() const

Data Members

private:
unsigned intfGradNCyc
doublefGradTlr
doublefGradTlrStp
unsigned intfHessGradNCyc
unsigned intfHessNCyc
doublefHessTlrG2
doublefHessTlrStp
unsigned intfStrategy

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

MnStrategy()
default strategy
explicit MnStrategy(unsigned int)
user defined strategy (0, 1, >=2)
~MnStrategy()
{}
unsigned int Strategy()
{return fStrategy;}
unsigned int GradientNCycles()
{return fGradNCyc;}
double GradientStepTolerance()
{return fGradTlrStp;}
double GradientTolerance()
{return fGradTlr;}
unsigned int HessianNCycles()
{return fHessNCyc;}
double HessianStepTolerance()
{return fHessTlrStp;}
double HessianG2Tolerance()
{return fHessTlrG2;}
unsigned int HessianGradientNCycles()
{return fHessGradNCyc;}
bool IsLow()
{return fStrategy == 0;}
bool IsMedium()
{return fStrategy == 1;}
bool IsHigh()
{return fStrategy >= 2;}
void SetLowStrategy()
void SetMediumStrategy()
void SetHighStrategy()
void SetGradientNCycles(unsigned int n)
{fGradNCyc = n;}
void SetGradientStepTolerance(double stp)
{fGradTlrStp = stp;}
void SetGradientTolerance(double toler)
{fGradTlr = toler;}
void SetHessianNCycles(unsigned int n)
{fHessNCyc = n;}
void SetHessianStepTolerance(double stp)
{fHessTlrStp = stp;}
void SetHessianG2Tolerance(double toler)
{fHessTlrG2 = toler;}
void SetHessianGradientNCycles(unsigned int n)
{fHessGradNCyc = n;}

Last change: root/minuit2:$Id: MnStrategy.h 21530 2007-12-20 11:14:35Z moneta $
Last generated: 2008-06-25 08:30
Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.