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

Comparing trunk/OOPSE/libmdtools/MinimizerBase.hpp (file contents):
Revision 975 by tim, Wed Jan 21 22:16:00 2004 UTC vs.
Revision 987 by tim, Tue Jan 27 19:15:20 2004 UTC

# Line 4 | Line 4 | class MinimizerBase{
4   class MinimizerBase{
5    public:
6  
7 +    virtual void Init() = 0;
8      virtual void Minimize() = 0;
9      virtual int step() = 0;
10 <    virtual bool testConvergence() = 0;
10 >    virtual int testConvergence() = 0;
11 >    
12  
13      virtual bool isSolvable() = 0;
14  
# Line 22 | Line 24 | class MinimizerBase{
24      const string& getMethodName() {return methodName;}
25      void setMethodName(const string& name) { methodName = name;}
26  
25    void setObjFunctor();
26    void getObjFunctor();
27
28 /*
29    void setUpdateFunctor();
30    void getUpdateFunctor();
31
32    void setSearchFunctor();
33    void getSearchFunctor();
34 */
35
27    protected:
28  
29      double stepSize;
# Line 40 | Line 31 | class MinimizerBase{
31      double fTol;
32      double gradTol;
33      string methodName;
43
44    bool hasObjFunctor;
45
46 /*
47    bool hasUpdateFunctor;
48
49    bool hasSearchFunctor;
50 */
51
34   };
35   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines