00001
00007 #ifndef _TivDichotomousDivision_h
00008 #define _TivDichotomousDivision_h
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "TextIterationVisualizer.h"
00019
00020
00021
00022
00023
00024 class TivDichotomousDivision
00025 : public TextIterationVisualizer
00026 {
00027 public:
00028
00029
00032 TivDichotomousDivision(void);
00033
00036 ~TivDichotomousDivision(void);
00037
00038
00039
00040
00041
00042 virtual void Print(wxTextCtrl* pTargetCtrl,
00043 const IterationData& iterationData,
00044 const FunctionBase& function,
00045 bool highlight) const;
00046
00047 static std::auto_ptr<const TextIterationVisualizer> Create();
00048
00049
00050
00051
00052 protected:
00053
00054 wxString PrintTrialPoints
00055 (wxTextCtrl* pTargetCtrl,
00056 const DichotomousDivisionIteration& iteration,
00057 const FunctionBase& function,
00058 bool highlight) const;
00059
00060 wxString PrintNewSection
00061 (wxTextCtrl* pTargetCtrl,
00062 const DichotomousDivisionIteration& iteration,
00063 const FunctionBase& function,
00064 bool highlight) const;
00065
00066 private:
00067
00071 static void* mpRegistrationDummy;
00072 };
00073
00074
00075
00076
00077
00078
00079
00080 #endif // _TivDichotomousDivision_h