TivNelderMead.h

00001 
00007 #ifndef _TivNelderMead_h
00008 #define _TivNelderMead_h
00009 
00010 // SYSTEM INCLUDES
00011 //
00012 
00013 // PROJECT INCLUDES
00014 //
00015 
00016 // LOCAL INCLUDES
00017 //
00018 #include "../methods/NelderMeadIteration.h"
00019 
00020 #include "TextIterationVisualizer.h"
00021 
00022 // FORWARD REFERENCES
00023 //
00024 
00025 
00026 class TivNelderMead
00027     : public TextIterationVisualizer
00028 {
00029 public:
00030 
00031 // LIFECYCLE
00032 
00035     TivNelderMead(void);
00036 
00039     ~TivNelderMead(void);
00040 
00041 
00042 // OPERATORS
00043 //
00044 
00045 // OPERATIONS
00046 //
00047     virtual void    Print(
00048                         wxTextCtrl*           pTargetCtrl,
00049                         const IterationData&  iteration,
00050                         const FunctionBase&   function,
00051                         bool                  highlight) const;
00052 
00053     static std::auto_ptr<const TextIterationVisualizer>    Create();
00054 
00055 // ACCESS
00056 // INQUIRY
00057 
00058 protected:
00059 
00062     wxString PrintSimplex(wxTextCtrl*                   pTargetCtrl,
00063                           const vector<PointWithValue>& simplex,
00064                           bool                          highlight) const;
00065 
00068     wxString PrintInitialSimplex(wxTextCtrl*                pTargetCtrl,
00069                                  const NelderMeadIteration& iteration,
00070                                  bool                       highlight) const;
00071 
00074     wxString PrintTrialPoints(wxTextCtrl*                   pTargetCtrl,
00075                               const NelderMeadIteration&    iteration,
00076                               bool                          highlight) const;
00077 
00080 //    wxString PrintIterationSolution
00081 //                            (wxTextCtrl*                pTargetCtrl,
00082 //                             const NelderMeadIteration& iteration,
00083 //                             bool                       highlight) const;
00084 
00087     wxString PrintNewSimplex(wxTextCtrl*                pTargetCtrl,
00088                              const NelderMeadIteration& iteration,
00089                              bool                       highlight) const;
00090 
00091 private:
00092 
00096     static void*   mpRegistrationDummy;
00097 
00098 };
00099 
00100 // INLINE METHODS
00101 //
00102 
00103 // EXTERNAL REFERENCES
00104 //
00105 
00106 #endif  // _TivNelderMead_h

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