TournamentSelection.h

00001 
00012 #ifndef _TournamentSelection_h
00013 #define _TournamentSelection_h
00014 
00015 // SYSTEM INCLUDES
00016 //
00017 
00018 // PROJECT INCLUDES
00019 //
00020 
00021 // LOCAL INCLUDES
00022 //
00023 #include "SelectionMethod.h"
00024 
00025 // FORWARD REFERENCES
00026 //
00027 
00028 
00029 class TournamentSelection
00030     : public SelectionMethod
00031 {
00032 public:
00033 // LIFECYCLE
00034 
00037     ~TournamentSelection(void);
00038 
00039 // OPERATORS
00040 // OPERATIONS
00041 
00044     virtual std::auto_ptr<SelectionMethod>  Clone() const;
00045 
00056     virtual void    Select(Population&                  population,
00057                            double                       partOfPopulationToLeave,
00058                            EvolutionaryMethodIteration& iteration) const;
00059 
00060 // ACCESS
00061 
00066     virtual wxString                ToString() const;
00067 
00072     virtual wxString                Name() const;
00073 
00074 // INQUIRY
00075 
00076 protected:
00077 private:
00078 
00081     TournamentSelection(void);
00082 
00087     TournamentSelection(const TournamentSelection& from);
00088 
00091     static TournamentSelection      mTournamentSelection;
00094     static const wxString           mName;
00095 
00096 };
00097 
00098 // INLINE METHODS
00099 //
00100 
00101 // EXTERNAL REFERENCES
00102 //
00103 
00104 #endif  // _TournamentSelection_h

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