00001
00009 #ifndef _EMPointDeviationCondition_h
00010 #define _EMPointDeviationCondition_h
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "EMStopCondition.h"
00021
00022
00023
00024
00025
00026 class EMPointDeviationCondition
00027 : public EMStopCondition
00028 {
00029 public:
00030
00031
00034 EMPointDeviationCondition(void);
00035
00036
00041 EMPointDeviationCondition(const EMPointDeviationCondition& from);
00042
00043
00046 ~EMPointDeviationCondition(void);
00047
00048
00049
00050
00051
00052
00055 virtual std::auto_ptr<StopConditionBase> Clone() const;
00056
00057
00058
00059
00060
00061 virtual bool IsMet(
00062 const ColumnVector& previousBestPoint,
00063 const ColumnVector& bestPoint,
00064 const FunctionBase& function,
00065 double pointStandardDeviation,
00066 double valueStandardDeviation,
00067 unsigned stagnantIterations) const;
00068
00069 protected:
00070 private:
00071 };
00072
00073
00074
00075
00076
00077
00078
00079 #endif // _EMPointDeviationCondition_h