00001
00006 #ifndef _TivHookeJeevesDiscrete_h
00007 #define _TivHookeJeevesDiscrete_h
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "TivHookeJeeves.h"
00018
00019
00020
00021
00022
00023 class TivHookeJeevesDiscrete
00024 : public TivHookeJeeves
00025 {
00026 public:
00027
00028
00031 TivHookeJeevesDiscrete(void);
00032
00035 ~TivHookeJeevesDiscrete(void);
00036
00037
00038
00039
00040
00041
00042 static std::auto_ptr<const TextIterationVisualizer> Create();
00043
00044
00045
00046
00047 protected:
00048
00049 virtual wxString PrintTrialStep(const HookeJeevesIteration::TrialPoint& step,
00050 const FunctionBase& function) const;
00051
00052 virtual void StepVector(wxTextCtrl* pTargetCtrl,
00053 wxString& rText,
00054 const HookeJeevesIteration& iteration,
00055 bool highlight) const;
00056
00057 virtual wxString PrintTauContraction(
00058 const HookeJeevesIteration& iteration) const;
00059
00060 private:
00064 static void* mpRegistrationDummy;
00065 };
00066
00067
00068
00069
00070
00071
00072
00073 #endif // _TivHookeJeevesDiscrete_h