TivEvolutionaryMethod.h

00001 
00006 #ifndef _TivEvolutionaryMethod_h
00007 #define _TivEvolutionaryMethod_h
00008 
00009 // SYSTEM INCLUDES
00010 //
00011 
00012 // PROJECT INCLUDES
00013 //
00014 
00015 // LOCAL INCLUDES
00016 //
00017 #include "../methods/EvolutionaryMethodIteration.h"
00018 
00019 #include "TextIterationVisualizer.h"
00020 
00021 // FORWARD REFERENCES
00022 //
00023 
00024 
00025 class TivEvolutionaryMethod
00026     : public TextIterationVisualizer
00027 {
00028 public:
00029 
00030 // LIFECYCLE
00031 
00034     TivEvolutionaryMethod(void);
00035 
00038     ~TivEvolutionaryMethod(void);
00039 
00040 
00041 // OPERATORS
00042 //
00043 
00044 // OPERATIONS
00045 //
00046     virtual void    Print(
00047                         wxTextCtrl*           pTargetCtrl,
00048                         const IterationData&  iteration,
00049                         const FunctionBase&   function,
00050                         bool                  highlight) const;
00051 
00052     static std::auto_ptr<const TextIterationVisualizer>    Create();
00053 
00054 // ACCESS
00055 // INQUIRY
00056 
00057 protected:
00058 
00061     wxString PrintStartingStatistics
00062                 (      wxTextCtrl*                      pTargetCtrl,
00063                  const EvolutionaryMethodIteration&     iteration,
00064                  const FunctionBase&                    function,
00065                        bool                             highlight) const;
00066 
00069     wxString PrintChromosomeCounts
00070                 (      wxTextCtrl*                      pTargetCtrl,
00071                  const EvolutionaryMethodIteration&     iteration,
00072                  const FunctionBase&                    function,
00073                        bool                             highlight) const;
00074 
00077     wxString PrintEndStatistics
00078                 (      wxTextCtrl*                      pTargetCtrl,
00079                  const EvolutionaryMethodIteration&     iteration,
00080                  const FunctionBase&                    function,
00081                        bool                             highlight) const;
00082 
00083 private:
00084 
00088     static void*   mpRegistrationDummy;
00089 
00090 };
00091 
00092 // INLINE METHODS
00093 //
00094 
00095 // EXTERNAL REFERENCES
00096 //
00097 
00098 #endif  // _TivEvolutionaryMethod_h

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