Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
MnStrategy.cxx
Go to the documentation of this file.
1// @(#)root/minuit2:$Id$
2// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7 * *
8 **********************************************************************/
9
10#include "Minuit2/MnStrategy.h"
11
12namespace ROOT {
13
14namespace Minuit2 {
15
16MnStrategy::MnStrategy() : fHessCFDG2(0), fHessForcePosDef(1), fStoreLevel(1)
17{
18 // default strategy
20}
21
22MnStrategy::MnStrategy(unsigned int stra) : fHessCFDG2(0), fHessForcePosDef(1), fStoreLevel(1)
23{
24 // user defined strategy (0, 1, 2, >=3)
25 if (stra == 0)
27 else if (stra == 1)
29 else if (stra == 2)
31 else
33}
34
36{
37 // set low strategy (0) values
38 fStrategy = 0;
47}
48
50{
51 // set minimum strategy (1) the default
52 fStrategy = 1;
61}
62
64{
65 // set high strategy (2)
66 fStrategy = 2;
75}
76
78{
79 // set very high strategy (3)
80 fStrategy = 3;
90}
91
92} // namespace Minuit2
93
94} // namespace ROOT
void SetHessianNCycles(unsigned int n)
Definition MnStrategy.h:67
void SetHessianStepTolerance(double stp)
Definition MnStrategy.h:68
void SetGradientTolerance(double toler)
Definition MnStrategy.h:65
void SetHessianCentralFDMixedDerivatives(unsigned int flag)
Definition MnStrategy.h:74
void SetGradientNCycles(unsigned int n)
Definition MnStrategy.h:63
void SetHessianForcePosDef(unsigned int flag)
Definition MnStrategy.h:78
void SetGradientStepTolerance(double stp)
Definition MnStrategy.h:64
void SetHessianGradientNCycles(unsigned int n)
Definition MnStrategy.h:70
void SetHessianG2Tolerance(double toler)
Definition MnStrategy.h:69
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...