25 |
|
fTol = DEFAULTTOLERANCE; |
26 |
|
gTol = DEFAULTTOLERANCE; |
27 |
|
|
28 |
< |
lsMaxIteration = 50 |
28 |
> |
lsMaxIteration = 50; |
29 |
|
lsTol = 1.0e-4; |
30 |
|
} |
31 |
|
|
43 |
|
double getGradTol() {return gTol;} |
44 |
|
|
45 |
|
void setLineSearchTol(double tol) {lsTol = tol;} |
46 |
< |
double setLineSearchTol() {return lsTol;} |
46 |
> |
double getLineSearchTol() {return lsTol;} |
47 |
|
|
48 |
< |
void setLineSearchTol(int iter) {lsMaxIteration = iter;} |
49 |
< |
int setLineSearchTol() {return lsMaxIteration;} |
48 |
> |
void setLineSearchMaxIteration(int iter) {lsMaxIteration = iter;} |
49 |
> |
int getLineSearchMaxIteration() {return lsMaxIteration;} |
50 |
|
|
51 |
|
/* |
52 |
|
void setAbsTol(vector<double>& tol) { absTol = tol;} |