LineSearch.h

00001 
00007 #ifndef _LineSearch_h
00008 #define _LineSearch_h
00009 
00010 
00011 // SYSTEM INCLUDES
00012 //
00013 
00014 // PROJECT INCLUDES
00015 //
00016 
00017 // LOCAL INCLUDES
00018 //
00019 #include "Method.h"
00020 #include "UnivariateFunction.h"
00021 
00022 // FORWARD REFERENCES
00023 //
00024 
00025 
00026 class LineSearch
00027     : public Method
00028 {
00029 public:
00030 // LIFECYCLE
00031 
00034     ~LineSearch(void);
00035 
00036 
00037 // OPERATORS
00038 
00039 // OPERATIONS
00040 
00048     double          FindOptimalStep(const UnivariateFunction& function) const;
00049 
00050 // ACCESS
00051 
00052 // INQUIRY
00053 
00060     virtual bool    CanAssist(const ProblemBase* pProblem) const = 0;
00061 
00062     // TODO: zrobić z tym porządek
00063     virtual bool    CanHandle(const ProblemBase* pProblem) const;
00064 
00065 protected:
00066 
00069     LineSearch(void);
00070 
00077     // TODO: specyfikacja wyjątku to co?
00078     virtual double  Optimize(const UnivariateFunction& function)
00079                                const = 0;
00080 
00081 private:
00082 
00083 };
00084 
00085 // INLINE METHODS
00086 //
00087 
00088 // EXTERNAL REFERENCES
00089 //
00090 
00091 #endif  // _LineSearch_h_

Wygenerowano Fri Sep 29 21:04:47 2006 dla EduOptim2 programem  doxygen 1.4.6