From 727f190a8850e030e4cbfc2532515108f7f42fb4 Mon Sep 17 00:00:00 2001 From: evomarc Date: Tue, 19 Dec 2000 18:02:19 +0000 Subject: [PATCH] Changed NoReplacement to GenerationalReplacement --- eo/tutorial/html/SecondBitEA.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/eo/tutorial/html/SecondBitEA.html b/eo/tutorial/html/SecondBitEA.html index 198cc917..e761dc8d 100644 --- a/eo/tutorial/html/SecondBitEA.html +++ b/eo/tutorial/html/SecondBitEA.html @@ -9,7 +9,7 @@ Back to Lesson 3 - Tutorial main page - Algorithm-Based - Component-Based -page - Programming hints - EO + - Programming hints - EO documentation

@@ -319,7 +319,8 @@ rng.reseed(seed);
// based on boolean_generator class (see utils/rnd_generator.h)
         eoInitFixedLength<Indi, boolean_generator>  -
random(vecSize, boolean_generator()); +
            +random(vecSize, boolean_generator());
        // Init pop from the randomizer: need to use the append function
         @@ -368,9 +369,9 @@ by default rate==1  // And we now have the full slection/replacement - though with  -
 // no replacement (== generational -replacement) at the moment :-) -
 eoNoReplacement<Indi> replace;  +
 // the same generational +replacement at the moment :-) +
 eoGenerationalReplacement<Indi> replace;  @@ -598,7 +599,7 @@ cout << "Exception: " << e.what() << '\n';

Back to Lesson 3 - Tutorial main page - Algorithm-Based - Component-Based -page - Programming hints - EO + - Programming hints - EO documentation