RouletteSelection.h

00001 
00027 #ifndef _RouletteSelection_h
00028 #define _RouletteSelection_h
00029 
00030 // SYSTEM INCLUDES
00031 //
00032 
00033 // PROJECT INCLUDES
00034 //
00035 
00036 // LOCAL INCLUDES
00037 //
00038 #include "SelectionMethod.h"
00039 
00040 // FORWARD REFERENCES
00041 //
00042 
00043 
00044 class RouletteSelection
00045     : public SelectionMethod
00046 {
00047 public:
00048 // LIFECYCLE
00049 
00052     ~RouletteSelection(void);
00053 
00054 // OPERATORS
00055 // OPERATIONS
00056 
00059     virtual std::auto_ptr<SelectionMethod>  Clone() const;
00060 
00070     virtual void    Select(Population&                  population,
00071                            double                       partOfPopulationToLeave,
00072                            EvolutionaryMethodIteration& iteration) const;
00073 
00074 // ACCESS
00075 
00080     virtual wxString                ToString() const;
00081 
00086     virtual wxString                Name() const;
00087 
00088 // INQUIRY
00089 
00090 protected:
00091 private:
00092 
00095     RouletteSelection(void);
00096 
00101     RouletteSelection(const RouletteSelection& from);
00102 
00105     static RouletteSelection        mRouletteSelection;
00108     static const wxString           mName;
00109 
00110 };
00111 
00112 // INLINE METHODS
00113 //
00114 
00115 // EXTERNAL REFERENCES
00116 //
00117 
00118 #endif  // _RouletteSelection_h

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