Changed the names of the exercise files to exerciseN.p - N lesson nb, p exercise nb

This commit is contained in:
evomarc 2001-01-05 05:48:16 +00:00
commit b1fa5076e2
3 changed files with 11 additions and 8 deletions

View file

@ -95,10 +95,13 @@ void main_function(int argc, char **argv)
////////////////////////////////////
// SELECT
// The robust tournament selection
eoDetTournament<Indi> selectOne(T_SIZE); // T_SIZE in [2,POP_SIZE]
eoDetTournamentSelect<Indi> selectOne(T_SIZE); // T_SIZE in [2,POP_SIZE]
// solution solution solution solution solution solution solution
// modify the rate in the constructor
eoSelectMany<Indi> select(selectOne,2, eo_is_an_integer);// rate is second arg.
// modify the nb offspring / rate in the constructor. 2 ways:
// second arg treated as integer
eoSelectMany<Indi> select(selectOne,2, eo_is_an_integer);
// second arg treated as a rate (default behavior)
// eoSelectMany<Indi> select(selectOne,0.1);
// REPLACE
// solution solution solution solution solution solution solution