| 7 |
|
MinimizerParameterSet(int dim); |
| 8 |
|
|
| 9 |
|
virtual void setDefaultParameter(); |
| 10 |
+ |
|
| 11 |
+ |
void setMaxIteration(int iteration) { maxIteration = iteration;} |
| 12 |
+ |
int getMaxIteration() { return maxIteration;} |
| 13 |
|
|
| 14 |
|
void setStepSize(double step) { stepSize = step;} |
| 15 |
|
double getStepSize() { return stepSize;} |
| 17 |
|
void setMaxStep(double step) { maxStep = step;} |
| 18 |
|
double getMaxStep() {return maxStep;} |
| 19 |
|
|
| 17 |
– |
const string getMethodName() {return methodName;} |
| 18 |
– |
void setMethodName(const string& name) { methodName = name;} |
| 19 |
– |
|
| 20 |
|
void setAbsGradTol(double tol) {absGradTol = tol;} |
| 21 |
|
double getAbsGradTol() {return absGradTol;} |
| 22 |
|
|
| 34 |
|
|
| 35 |
|
protected: |
| 36 |
|
|
| 37 |
+ |
int maxIteration; |
| 38 |
+ |
|
| 39 |
|
double stepSize; |
| 38 |
– |
double maxStep; |
| 40 |
|
|
| 41 |
|
// Name of minimizer |
| 42 |
|
string methodName; |