00001
00006 #ifndef _AlphaDivisionIteration_h
00007 #define _AlphaDivisionIteration_h
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "../IterationData.h"
00018
00019
00020
00021
00022
00023 class AlphaDivisionIteration
00024 : public IterationData
00025 {
00026 public:
00027
00028
00029
00030
00031
00032
00035 AlphaDivisionIteration(double a,
00036 double b,
00037 double lambda,
00038 double mu,
00039 bool mu_better);
00040
00043 ~AlphaDivisionIteration(void);
00044
00045
00046
00047
00048
00049
00050
00051
00052 virtual ColumnVector EndValuePoint() const;
00053
00054 virtual vector<IterationDataIdType> ClassIds() const;
00055
00056 static IterationDataIdType ClassId();
00057
00060 double LeftBound() const;
00061
00064 double RightBound() const;
00065
00068 double LeftStep() const;
00069
00072 double RightStep() const;
00073
00076 double BetterStep() const;
00077
00080 double WorseStep() const;
00081
00084 double Length() const;
00085
00086
00087
00088 bool IsMuBetter() const;
00089
00090 protected:
00091 private:
00092
00093 double mA;
00094 double mB;
00095
00096 double mLambda;
00097 double mMu;
00098
00099 bool mMuBetter;
00100 };
00101
00102
00103
00104
00105
00106
00107
00108 #endif // _AlphaDivisionIteration_h