From c00c15145d531ffdcb6caf2c63539fa5b20afa28 Mon Sep 17 00:00:00 2001 From: evomarc Date: Mon, 4 Dec 2000 15:01:31 +0000 Subject: [PATCH] omment of line apply(pop, eval) was found misleading ... --- eo/tutorial/Lesson2/FirstBitEA.cpp | 2 +- eo/tutorial/Lesson2/FirstRealEA.cpp | 2 +- eo/tutorial/html/FirstBitEA.html | 2 +- eo/tutorial/html/FirstRealEA.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eo/tutorial/Lesson2/FirstBitEA.cpp b/eo/tutorial/Lesson2/FirstBitEA.cpp index 0d82a78fa..440d47963 100644 --- a/eo/tutorial/Lesson2/FirstBitEA.cpp +++ b/eo/tutorial/Lesson2/FirstBitEA.cpp @@ -79,7 +79,7 @@ void main_function(int argc, char **argv) // Initialization of the population eoPop pop(POP_SIZE, random); - // and evaluate it in one loop + // and evaluate it in one line apply(eval, pop); // STL syntax // OUTPUT diff --git a/eo/tutorial/Lesson2/FirstRealEA.cpp b/eo/tutorial/Lesson2/FirstRealEA.cpp index c604000e2..8711e3c68 100644 --- a/eo/tutorial/Lesson2/FirstRealEA.cpp +++ b/eo/tutorial/Lesson2/FirstRealEA.cpp @@ -79,7 +79,7 @@ void main_function(int argc, char **argv) // Initialization of the population eoPop pop(POP_SIZE, random); - // and evaluate it in one loop + // and evaluate it in one line apply(eval, pop); // STL syntax // OUTPUT diff --git a/eo/tutorial/html/FirstBitEA.html b/eo/tutorial/html/FirstBitEA.html index 27a4616a6..db1f28cfb 100644 --- a/eo/tutorial/html/FirstBitEA.html +++ b/eo/tutorial/html/FirstBitEA.html @@ -166,7 +166,7 @@ The actual code is in boldface and the comment in normal face.      random(VEC_SIZE, boolean_generator());
 // Initialization of the population
 eoPop<Indi> pop(POP_SIZE, random);
-  // and evaluate it in one loop
+  // and evaluate it in one line
 apply<Indi>(eval, pop); // STL syntax
diff --git a/eo/tutorial/html/FirstRealEA.html b/eo/tutorial/html/FirstRealEA.html index e4a22e43e..a942eef44 100644 --- a/eo/tutorial/html/FirstRealEA.html +++ b/eo/tutorial/html/FirstRealEA.html @@ -169,7 +169,7 @@ The actual code is in boldface and the comment in normal face.    // Initialization of the population
 eoPop<Indi> pop(POP_SIZE, random);

-  // and evaluate it in one loop
+  // and evaluate it in one line
 apply<Indi>(eval, pop); // STL syntax