Few cosmetic modifs:

put the #define of some boolean in eoData.h
   added some include that were missing (unnoticed because of include<eo>)
   some checks in eoXXXTournamentSelect
This commit is contained in:
evomarc 2001-04-13 08:57:40 +00:00
commit e71aea497f
6 changed files with 25 additions and 21 deletions

View file

@ -50,7 +50,7 @@ template <class EOT> class eoDetTournamentSelect: public eoSelectOne<EOT>
eoDetTournamentSelect(unsigned _tSize = 2 ):eoSelectOne<EOT>(), tSize(_tSize) {
// consistency check
if (tSize < 2) {
cout << "Warning, Tournament size should be >= 2\nAdjusted\n";
cout << "Warning, Tournament size should be >= 2\nAdjusted to 2\n";
tSize = 2;
}
}