TivPowell.h

00001 
00007 #ifndef _TivPowell_h
00008 #define _TivPowell_h
00009 
00010 // SYSTEM INCLUDES
00011 //
00012 
00013 // PROJECT INCLUDES
00014 //
00015 
00016 // LOCAL INCLUDES
00017 //
00018 #include "TextIterationVisualizer.h"
00019 
00020 // FORWARD REFERENCES
00021 //
00022 
00023 
00024 class TivPowell
00025     : public TextIterationVisualizer
00026 {
00027 public:
00028 // LIFECYCLE
00029 
00032     TivPowell(void);
00033 
00036     ~TivPowell(void);
00037 
00038 
00039 // OPERATORS
00040     virtual void    Print(
00041                         wxTextCtrl*           pTargetCtrl,
00042                         const IterationData&  iterationData,
00043                         const FunctionBase&   function,
00044                         bool                  highlight) const;
00045 
00046 // OPERATIONS
00047     static std::auto_ptr<const TextIterationVisualizer>    Create();
00048 // ACCESS
00049 // INQUIRY
00050 
00051 protected:
00052     void            PrintPreliminaryIteration(
00053                         wxTextCtrl*                         pTargetCtrl,
00054                         const PowellIteration&              iterationData,
00055                         const FunctionBase&                 function,
00056                         bool                                highlight) const;
00057 
00058     wxString        PrintStartingParameters(
00059                         wxTextCtrl*                         pTargetCtrl,
00060                         const PowellIteration&              iterationData,
00061                         const FunctionBase&                 function,
00062                         bool                                highlight) const;
00063 
00064     wxString        PrintTrialSteps(
00065                         wxTextCtrl*                         pTargetCtrl,
00066                         const PowellIteration&              iterationData,
00067                         const FunctionBase&                 function,
00068                         bool                                highlight) const;
00069 
00070     wxString        PrintTrialSummary(
00071                         wxTextCtrl*                         pTargetCtrl,
00072                         const PowellIteration&              iterationData)
00073                                                                 const;
00074     wxString        PrintNewDirection(
00075                         wxTextCtrl*                         pTargetCtrl,
00076                         const PowellIteration&              iterationData,
00077                         const FunctionBase&                 function,
00078                         bool                                highlight) const;
00079 
00080     virtual wxString    PrintNewBase(
00081                             wxTextCtrl*                     pTargetCtrl,
00082                             const PowellIteration&          iterationData,
00083                             bool                            highlight)
00084                                                                 const = 0;
00085     private:
00086 };
00087 
00088 // INLINE METHODS
00089 //
00090 
00091 // EXTERNAL REFERENCES
00092 //
00093 
00094 #endif  // _TivPowell_h

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