DistanceCondition.h

00001 
00008 #ifndef _DistanceCondition_h
00009 #define _DistanceCondition_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 DistanceCondition
00026     : public StandardStopCondition
00027 {
00028 public:
00029 // LIFECYCLE
00030 
00033     DistanceCondition(void);
00034 
00035 
00040     DistanceCondition(const DoubleParameter& epsilon);
00041 
00046     DistanceCondition(const DistanceCondition& from);
00047 
00048 
00051     ~DistanceCondition(void);
00052 
00053 
00054 // OPERATORS
00055 
00056 // OPERATIONS
00057 
00060     virtual std::auto_ptr<StopConditionBase>    Clone() const;
00061 
00062 // ACCESS
00063 // INQUIRY
00064 
00069     virtual bool        IsMet(const ColumnVector&   previousPoint,
00070                               const ColumnVector&   lastPoint,
00071                               double                previousValue,
00072                               double                lastValue,
00073                               double                customValue = 0) const;
00074 
00079     virtual bool        IsMet(const ColumnVector&   previousPoint,
00080                               const ColumnVector&   lastPoint,
00081                               double                previousValue,
00082                               const FunctionBase&   function,
00083                               double                customValue = 0) const;
00084 
00089     virtual bool        IsMet(const ColumnVector&   previousPoint,
00090                               const ColumnVector&   lastPoint,
00091                               const FunctionBase&   function,
00092                               double                customValue = 0) const;
00093 
00094 protected:
00095 private:
00096 };
00097 
00098 // INLINE METHODS
00099 //
00100 
00101 // EXTERNAL REFERENCES
00102 //
00103 
00104 #endif  // _DistanceCondition_h

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