ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/MinimizerParameterSet.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/MinimizerParameterSet.hpp (file contents):
Revision 997 by tim, Thu Jan 29 21:44:13 2004 UTC vs.
Revision 1000 by tim, Fri Jan 30 21:47:22 2004 UTC

# Line 7 | Line 7 | class MinimizerParameterSet{
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;}
# Line 14 | Line 17 | class MinimizerParameterSet{
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  
# Line 34 | Line 34 | class MinimizerParameterSet{
34  
35    protected:    
36  
37 +    int maxIteration;
38 +
39      double stepSize;
38    double maxStep;
40  
41      // Name of minimizer
42      string methodName;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines