00001
00002
00003 #include <wx/wx.h>
00004 #include <wx/image.h>
00005
00006 #ifndef HOOKEJEEVESDISCRETEPANEL_H
00007 #define HOOKEJEEVESDISCRETEPANEL_H
00008
00009 #include "../methods/HookeJeevesDiscrete.h"
00010
00011 #include "MethodPanelInfo.h"
00012 #include "PointControl.h"
00013
00014
00015
00016
00017
00018 class HookeJeevesDiscretePanel: public wxPanel {
00019 public:
00020
00021
00022
00023 HookeJeevesDiscretePanel(wxWindow* parent,
00024 int id,
00025 HookeJeevesDiscrete* pMethod,
00026 const ProblemBase& problem,
00027 const wxPoint& pos=wxDefaultPosition,
00028 const wxSize& size=wxDefaultSize,
00029 long style=0);
00030
00035 static wxPanel* CreatePanel(MethodPanelInfo panelInfo);
00036
00037 private:
00038
00039 void set_properties();
00040 void do_layout();
00041
00042
00043 HookeJeevesDiscrete* mpMethod;
00044
00045 static const void* mpRegistrationDummy;
00046
00047 protected:
00048
00049 wxStaticText* mpLabelTau;
00050 wxTextCtrl* mpTextCtrlTau;
00051 wxStaticText* mpLabelBeta;
00052 wxTextCtrl* mpTextCtrlBeta;
00053 wxStaticText* mpLabelEpsilon;
00054 wxTextCtrl* mpTextCtrlEpsilon;
00055 PointControl* mpStartingPoint;
00056
00057 };
00058
00059
00060 #endif // HOOKEJEEVESDISCRETEPANEL_H