00001 #ifndef GLSELECTIONISTSTANDARD_H_ 00002 #define GLSELECTIONISTSTANDARD_H_ 00003 00004 #include "GLBaseSelectionist.h" 00005 00011 class GLSelectionistStandard : public GLBaseSelectionist 00012 { 00013 public: 00021 GLSelectionistStandard(GLBaseRanker* ranker):GLBaseSelectionist(ranker) 00022 {}; 00023 00027 virtual ~GLSelectionistStandard() {}; 00028 00049 virtual int doSelection( 00050 const vector<GLBaseOrganism*>& current_population, 00051 const vector<GLBaseOrganism*>& new_generation, 00052 size_t new_size, 00053 vector<GLBaseOrganism*>& to_live, 00054 vector<GLBaseOrganism*>& to_die, 00055 vector<const GLBaseOrganism*>& best_survived); 00056 }; 00057 00058 #endif /*GLSELECTIONISTSTANDARD_H_*/