Temporary modification of the tutorial to account for the new features

- stat.tmpl allowing easy creation of own stat
- sharing as a new possible selector in make_algo_scalar - requires a distance
No detail given, though ...
This commit is contained in:
evomarc 2004-05-26 09:00:26 +00:00
commit 9e0edc381e
3 changed files with 63 additions and 18 deletions

View file

@ -38,6 +38,33 @@ of its fitness.
<br>The examples will be described supposing you want to evolve ... bitstings
to solve the OneMax problem (oh no!!!).
<p>
<b><blink><font color="#FF0000">New</font></blink></b> May 2004 : A
second script, <b><tt><font color="#993300">createSimple</font></tt></b>,
was added some time ago, that generates much simpler
set of files, and the <font color="#3366FF"><b>stat.tmpl</b></font>
file is now used to allow you to
<font color="#FF0000"><b>compute</b></font> and
<font color="#FF0000"><b>print</b></font> and
<font color="#FF0000"><b>save-to-disk</b></font> and
<font color="#FF0000"><b>plot-on-line</b></font> your
own <font color="#3366FF"><b>statistics</b></font>.
But you'll have to find out by yourself how those work, sorry, no
time. It should be easy by just looking at the code (in main file, and
in <b><tt><font color="#993300">OneMaxEA.cpp</font></tt></b>
and the newly created
<b><tt><font color="#993300">eoOneMaxStat.h</font></tt></b>.<br><br>
<b><blink><font color="#FF0000">New</font></blink></b> May 2004 : In
the same simplified main file (e.g. <b><tt><font
color="#993300">OneMaxEA.cpp</font></tt></b> after running
<b><tt><font color="#FF6666">./createsimple OneMax</font></tt></b> in
dir <b><tt><font
color="#FF6666"><b>.../eo/tutorial/Templates</b></font></tt></b>), you
will also be able to use fitness sharing (together with roulette) as a
possible selector.
<hr WIDTH="100%"><a NAME="using"></a><b><font color="#000099"><font size=+2>Using
template files</font></font></b>
<br>Follow this very simple procedure: