SecantDivisionIteration.h

00001 
00006 #ifndef _SecantDivisionIteration_h
00007 #define _SecantDivisionIteration_h
00008 
00009 // SYSTEM INCLUDES
00010 //
00011 
00012 // PROJECT INCLUDES
00013 //
00014 
00015 // LOCAL INCLUDES
00016 //
00017 #include "../IterationData.h"
00018 
00019 // FORWARD REFERENCES
00020 //
00021 
00022 
00023 class SecantDivisionIteration
00024     : public IterationData
00025 {
00026 public:
00027 
00028     typedef enum
00029     {
00030         LEFT = 1,
00031         RIGHT = 2,
00032         NONE = 3
00033     } PartChosenType;
00034 
00035 // LIFECYCLE
00036 
00039     SecantDivisionIteration(double             a,
00040                             double             inside,
00041                             double             b);
00042 
00045     ~SecantDivisionIteration(void);
00046 
00047 // OPERATORS
00048 // OPERATIONS
00049 // ACCESS
00050 
00051     virtual ColumnVector                EndValuePoint() const;
00052 
00053     virtual vector<IterationDataIdType> ClassIds() const;
00054 
00055     static IterationDataIdType          ClassId();
00056 
00059     double              LeftBound() const;
00060 
00063     double              InsidePoint() const;
00064 
00067     double              RightBound() const;
00068 
00069     PartChosenType      PartChosen() const;
00070     PartChosenType&     rPartChosen();
00071 
00072     double              Length() const;
00073 
00074 // INQUIRY
00075 
00076 protected:
00077 private:
00078 
00079     double  mA;         
00080     double  mInside;    
00081     double  mB;         
00082 
00083     PartChosenType  mPartChosen;
00084 
00085 };
00086 
00087 // INLINE METHODS
00088 //
00089 
00090 // EXTERNAL REFERENCES
00091 //
00092 
00093 #endif  // _SecantDivisionIteration_h

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