Modified all init sequences in Lesson2 and Lesson3 - and all corresponding

files in html dir - after the return of eoRndGenerators and subsequent
modifications of eoInit
This commit is contained in:
evomarc 2001-02-27 05:09:10 +00:00
commit 72b6692f9b
9 changed files with 24 additions and 23 deletions

View file

@ -75,8 +75,8 @@ void main_function(int argc, char **argv)
// Initilisation of population
////////////////////////////////
// based on a uniform generator
eoInitFixedLength<Indi, uniform_generator<double> >
random(VEC_SIZE, uniform_generator<double>(-1.0, 1.0));
eoUniformGenerator<double> uGen(-1.0, 1.0);
eoInitFixedLength<Indi> random(VEC_SIZE, uGen);
// Initialization of the population
eoPop<Indi> pop(POP_SIZE, random);