omment of line apply(pop, eval) was found misleading ...

This commit is contained in:
evomarc 2000-12-04 15:01:31 +00:00
commit c00c15145d
4 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@ void main_function(int argc, char **argv)
// 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
// OUTPUT

View file

@ -79,7 +79,7 @@ void main_function(int argc, char **argv)
// 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
// OUTPUT

View file

@ -166,7 +166,7 @@ The actual code is in boldface and the comment in normal face.
<b> &nbsp; &nbsp; &nbsp;random(VEC_SIZE, boolean_generator());</b><br>
<b> &nbsp;</b>// Initialization of the population<br>
<b> &nbsp;eoPop&lt;Indi> pop(POP_SIZE, random);</b><br>
<b> &nbsp;</b>// and evaluate it in one loop<br>
<b> &nbsp;</b>// and evaluate it in one line<br>
<b> &nbsp;apply&lt;Indi>(eval, pop); </b>// STL syntax<br>
</font></tt>
</td>

View file

@ -169,7 +169,7 @@ The actual code is in boldface and the comment in normal face.
<b> &nbsp; &nbsp;</b>// Initialization of the population<br>
<b> &nbsp;eoPop&lt;Indi> pop(POP_SIZE, random);</b><br>
<b> </b><br>
<b> &nbsp;</b>// and evaluate it in one loop<br>
<b> &nbsp;</b>// and evaluate it in one line<br>
<b> &nbsp;apply&lt;Indi>(eval, pop); </b>// STL syntax<br>
</font></tt>
</td>