ValueCondition.h

00001 
00008 #ifndef _ValueCondition_h
00009 #define _ValueCondition_h
00010 
00011 // SYSTEM INCLUDES
00012 //
00013 
00014 // PROJECT INCLUDES
00015 //
00016 
00017 // LOCAL INCLUDES
00018 //
00019 #include "StandardStopCondition.h"
00020 
00021 // FORWARD REFERENCES
00022 //
00023 
00024 
00025 class ValueCondition
00026     : public StandardStopCondition
00027 {
00028 public:
00029 // LIFECYCLE
00030 
00033     ValueCondition(void);
00034 
00039     ValueCondition(const DoubleParameter& epsilon);
00040 
00045     ValueCondition(const ValueCondition& from);
00046 
00049     ~ValueCondition(void);
00050 
00051 
00052 // OPERATORS
00053 
00054 // OPERATIONS
00055 
00058     virtual std::auto_ptr<StopConditionBase>    Clone() const;
00059 
00060 // ACCESS
00061 // INQUIRY
00062 
00067     virtual bool        IsMet(const ColumnVector&   previousPoint,
00068                               const ColumnVector&   lastPoint,
00069                               double                previousValue,
00070                               double                lastValue,
00071                               double                customValue = 0) const;
00072 
00077     virtual bool        IsMet(const ColumnVector&   previousPoint,
00078                               const ColumnVector&   lastPoint,
00079                               double                previousValue,
00080                               const FunctionBase&   function,
00081                               double                customValue = 0) const;
00082 
00087     virtual bool        IsMet(const ColumnVector&   previousPoint,
00088                               const ColumnVector&   lastPoint,
00089                               const FunctionBase&   function,
00090                               double                customValue = 0) const;
00091 
00092 protected:
00093 private:
00094 };
00095 
00096 // INLINE METHODS
00097 //
00098 
00099 // EXTERNAL REFERENCES
00100 //
00101 
00102 #endif  // _ValueCondition_h

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