The source file names had changed, some day, in doxygen-genertaed doc ...
This commit is contained in:
parent
b8661ed2b6
commit
414eafa277
3 changed files with 28 additions and 22 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
<meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.2.17-21mdk i686) [Netscape]">
|
<meta name="GENERATOR" content="Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686) [Netscape]">
|
||||||
<title>Genetic Engine</title>
|
<title>Genetic Engine</title>
|
||||||
</head>
|
</head>
|
||||||
<body text="#000000" link="#0000EF" vlink="#51188E" alink="#FF0000" background="beige009.jpg">
|
<body text="#000000" link="#0000EF" vlink="#51188E" alink="#FF0000" background="beige009.jpg">
|
||||||
|
|
@ -241,6 +241,8 @@ and you can probably guess what each of them actually does :-)</li>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<p>Available <font color="#FF6600">instances of eoMergeReduce</font> replacement
|
<p>Available <font color="#FF6600">instances of eoMergeReduce</font> replacement
|
||||||
include
|
include
|
||||||
<ul>
|
<ul>
|
||||||
|
|
@ -310,7 +312,9 @@ size. Available instances of <b><tt><font color="#009900">eoSurviveAndDieReplace
|
||||||
are limited todayto the <b><tt><font color="#009900">eoDeterministicSaDReplacement</font></tt></b>,
|
are limited todayto the <b><tt><font color="#009900">eoDeterministicSaDReplacement</font></tt></b>,
|
||||||
the that uses a deterministic MergeReduce.</li>
|
the that uses a deterministic MergeReduce.</li>
|
||||||
|
|
||||||
<p><br><b><font color="#FF0000">Note</font></b>: The basic use (and initial
|
<br>
|
||||||
|
<p>
|
||||||
|
<p><b><font color="#FF0000">Note</font></b>: The basic use (and initial
|
||||||
motivation) for <b><tt><font color="#009900">eoSurviveAndDie</font></tt></b>
|
motivation) for <b><tt><font color="#009900">eoSurviveAndDie</font></tt></b>
|
||||||
takes 2 arguments, an eoMergeReduce and a number of surviving parents.
|
takes 2 arguments, an eoMergeReduce and a number of surviving parents.
|
||||||
It starts by copying the best parents to the new populations, then merges
|
It starts by copying the best parents to the new populations, then merges
|
||||||
|
|
@ -457,7 +461,7 @@ is implemented in the <b><tt><font color="#009900">eoDetTournamentSelect</font><
|
||||||
class, a sub-class of eoSelectOne, as well as in the <b><tt><font color="#009900">eoDetTournamentTruncate</font></tt></b>
|
class, a sub-class of eoSelectOne, as well as in the <b><tt><font color="#009900">eoDetTournamentTruncate</font></tt></b>
|
||||||
class that repeatidly removes from the population the "winner" of the inverse
|
class that repeatidly removes from the population the "winner" of the inverse
|
||||||
tournament. These objects use the C++ function determinitic_tournament
|
tournament. These objects use the C++ function determinitic_tournament
|
||||||
in <a href="../../doc/html/selectors_h-source.html">selectors.h</a>.</li>
|
in <a href="../../doc/html/selectors_8h-source.html">selectors.h</a>.</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a NAME="stochTournament"></a><b><tt><font color="#009900">Stochastic Tournament</font></tt></b>
|
<a NAME="stochTournament"></a><b><tt><font color="#009900">Stochastic Tournament</font></tt></b>
|
||||||
|
|
@ -467,7 +471,7 @@ parameter R should be in [0.5,1]. It is implemented in the <b><tt><font color="#
|
||||||
class, a sub-class of eoSelectOne, as well as in the <b><tt><font color="#009900">eoStochTournamentTruncate</font></tt></b>
|
class, a sub-class of eoSelectOne, as well as in the <b><tt><font color="#009900">eoStochTournamentTruncate</font></tt></b>
|
||||||
class that repeatidly removes from the population the "winner" of the inverse
|
class that repeatidly removes from the population the "winner" of the inverse
|
||||||
tournament. These objects use the C++ function determinitic_tournament
|
tournament. These objects use the C++ function determinitic_tournament
|
||||||
in <a href="../../doc/html/selectors_h-source.html">selectors.h</a>.</li>
|
in <a href="../../doc/html/selectors_8h-source.html">selectors.h</a>.</li>
|
||||||
|
|
||||||
<br><b><font color="#FF0000">Note</font></b>: A stochastic tournament with
|
<br><b><font color="#FF0000">Note</font></b>: A stochastic tournament with
|
||||||
rate 1.0 is strictly identical to a deterministic tournament of size 2.
|
rate 1.0 is strictly identical to a deterministic tournament of size 2.
|
||||||
|
|
|
||||||
|
|
@ -157,19 +157,15 @@ any useful argument</font></tt>
|
||||||
the candidates to crossover</font></tt>
|
the candidates to crossover</font></tt>
|
||||||
<br><b><tt><font color="#993300">if (myBinOp(eo1, eo2))</font></tt></b>
|
<br><b><tt><font color="#993300">if (myBinOp(eo1, eo2))</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> { ...
|
<br><tt><font color="#993300"><b> { ...
|
||||||
|
|
||||||
</b>// eo1 has been modified, <b>not</b> eo2</font></tt>
|
</b>// eo1 has been modified, <b>not</b> eo2</font></tt>
|
||||||
<br><b><tt><font color="#993300"> }</font></tt></b>
|
<br><b><tt><font color="#993300"> }</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b>else ...
|
<br><tt><font color="#993300"><b>else ...
|
||||||
|
|
||||||
</b>// none has been modified</font></tt>
|
</b>// none has been modified</font></tt>
|
||||||
<br><b><tt><font color="#993300">if (myQuadOp(eo1, eo2))</font></tt></b>
|
<br><b><tt><font color="#993300">if (myQuadOp(eo1, eo2))</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> { ...
|
<br><tt><font color="#993300"><b> { ...
|
||||||
|
|
||||||
</b>// both eo1 and eo2 have been modified</font></tt>
|
</b>// both eo1 and eo2 have been modified</font></tt>
|
||||||
<br><b><tt><font color="#993300"> }</font></tt></b>
|
<br><b><tt><font color="#993300"> }</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b>else ...
|
<br><tt><font color="#993300"><b>else ...
|
||||||
|
|
||||||
</b>// none has been modified</font></tt>
|
</b>// none has been modified</font></tt>
|
||||||
<p>However, you will hardly have to actually apply operators to individuals,
|
<p>However, you will hardly have to actually apply operators to individuals,
|
||||||
as operators are used within other classes, and are applied systematically
|
as operators are used within other classes, and are applied systematically
|
||||||
|
|
@ -228,8 +224,7 @@ above:
|
||||||
<br><tt><font color="#993300"><b> { ... </b>//
|
<br><tt><font color="#993300"><b> { ... </b>//
|
||||||
eo has been modified</font></tt>
|
eo has been modified</font></tt>
|
||||||
<br><b><tt><font color="#993300"> }</font></tt></b>
|
<br><b><tt><font color="#993300"> }</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b>else
|
<br><tt><font color="#993300"><b>else </b>//
|
||||||
</b>//
|
|
||||||
eo has not been modified</font></tt>
|
eo has not been modified</font></tt>
|
||||||
<p>However, you will hardly have to actually apply operators to individuals,
|
<p>However, you will hardly have to actually apply operators to individuals,
|
||||||
as operators are used within other classes, and are applied systematically
|
as operators are used within other classes, and are applied systematically
|
||||||
|
|
@ -311,8 +306,7 @@ _pop)</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> EOT& parent1 = *_pop;
|
<br><tt><font color="#993300"><b> EOT& parent1 = *_pop;
|
||||||
</b>//
|
</b>//
|
||||||
select the first parent</font></tt>
|
select the first parent</font></tt>
|
||||||
<br><tt><font color="#993300"><b> ++_plop;
|
<br><tt><font color="#993300"><b> ++_plop; </b>//
|
||||||
</b>//
|
|
||||||
advance once for each selected parents</font></tt>
|
advance once for each selected parents</font></tt>
|
||||||
<br><b><tt><font color="#993300"> ...</font></tt></b>
|
<br><b><tt><font color="#993300"> ...</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> EOT& parentN = *_pop;
|
<br><tt><font color="#993300"><b> EOT& parentN = *_pop;
|
||||||
|
|
@ -357,7 +351,9 @@ were parents</font>, it needs to insert them into the list using the <b><tt><fon
|
||||||
method of the class <b><font color="#999900">eoPopulator</font></b> as
|
method of the class <b><font color="#999900">eoPopulator</font></b> as
|
||||||
in the following:</li>
|
in the following:</li>
|
||||||
|
|
||||||
<p><br><b><tt><font color="#993300">void apply()(</font><font color="#999900">eoPopulator</font><font color="#993300">&
|
<br>
|
||||||
|
<p>
|
||||||
|
<p><b><tt><font color="#993300">void apply()(</font><font color="#999900">eoPopulator</font><font color="#993300">&
|
||||||
_pop)</font></tt></b>
|
_pop)</font></tt></b>
|
||||||
<br><b><tt><font color="#993300">{</font></tt></b>
|
<br><b><tt><font color="#993300">{</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> </b>// get the necessary number
|
<br><tt><font color="#993300"><b> </b>// get the necessary number
|
||||||
|
|
@ -395,8 +391,10 @@ outside the curent list, so the total number of (intermediate) offspring
|
||||||
is always equal to the initial population size. By chance, the <b><font color="#999900">eoPopulator</font></b>has
|
is always equal to the initial population size. By chance, the <b><font color="#999900">eoPopulator</font></b>has
|
||||||
a handle on the initial population that was used to start the process,
|
a handle on the initial population that was used to start the process,
|
||||||
and you can access it from inside the GenOp method. For instance</li>
|
and you can access it from inside the GenOp method. For instance</li>
|
||||||
<b><tt><font color="#993300"></font></tt></b>
|
|
||||||
<p><br><b><tt><font color="#993300">void apply()(</font><font color="#999900">eoPopulator</font><font color="#993300">&
|
<br>
|
||||||
|
<p>
|
||||||
|
<p><b><tt><font color="#993300">void apply()(</font><font color="#999900">eoPopulator</font><font color="#993300">&
|
||||||
_pop)</font></tt></b>
|
_pop)</font></tt></b>
|
||||||
<br><b><tt><font color="#993300">{</font></tt></b>
|
<br><b><tt><font color="#993300">{</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> </b>// get as many parents as you
|
<br><tt><font color="#993300"><b> </b>// get as many parents as you
|
||||||
|
|
@ -427,8 +425,10 @@ If you don't care about the size of the offspring population (that is,
|
||||||
if that size os controlled elsewhere, e.g. in some external loop), you
|
if that size os controlled elsewhere, e.g. in some external loop), you
|
||||||
can use the inbedded select method of the class <b><font color="#999900">eoPopulator</font></b>.
|
can use the inbedded select method of the class <b><font color="#999900">eoPopulator</font></b>.
|
||||||
For instance</li>
|
For instance</li>
|
||||||
<b><tt><font color="#993300"></font></tt></b>
|
|
||||||
<p><br><b><tt><font color="#993300">void apply()(</font><font color="#999900">eoPopulator</font><font color="#993300">&
|
<br>
|
||||||
|
<p>
|
||||||
|
<p><b><tt><font color="#993300">void apply()(</font><font color="#999900">eoPopulator</font><font color="#993300">&
|
||||||
_pop)</font></tt></b>
|
_pop)</font></tt></b>
|
||||||
<br><b><tt><font color="#993300">{</font></tt></b>
|
<br><b><tt><font color="#993300">{</font></tt></b>
|
||||||
<br><tt><font color="#993300"><b> </b>// get as many parents as you
|
<br><tt><font color="#993300"><b> </b>// get as many parents as you
|
||||||
|
|
@ -569,7 +569,7 @@ to apply the variation operators to the population, and thus get exactly
|
||||||
the number of offspring you want.
|
the number of offspring you want.
|
||||||
<p><b><font color="#FF0000">Example</font></b>: An <b><font color="#CC33CC">eoSelectivePopulator</font></b>
|
<p><b><font color="#FF0000">Example</font></b>: An <b><font color="#CC33CC">eoSelectivePopulator</font></b>
|
||||||
is the main ingredient of the <b><tt><font color="#FF6666">eoGeneralBreeder
|
is the main ingredient of the <b><tt><font color="#FF6666">eoGeneralBreeder
|
||||||
</font></tt></b><a href="../../doc/html/eogeneralbreeder_h-source.html#l00061">operator()
|
</font></tt></b><a href="../../doc/html/eo_general_breeder_8h-source.html#l00061">operator()
|
||||||
method</a> - a class that creates a population of offspring from the parents
|
method</a> - a class that creates a population of offspring from the parents
|
||||||
applying an eoGenOp (usually an eoOpContainer) to all selected parents
|
applying an eoGenOp (usually an eoOpContainer) to all selected parents
|
||||||
in turn.
|
in turn.
|
||||||
|
|
@ -687,9 +687,9 @@ Gen</font></b>:
|
||||||
rate: double whose <b>meaning depends on YYY</b></font></tt>
|
rate: double whose <b>meaning depends on YYY</b></font></tt>
|
||||||
<p>where YYY can be one of Proportional and Sequential. Note that before
|
<p>where YYY can be one of Proportional and Sequential. Note that before
|
||||||
being added to the container, all simple operators are wrapped into the
|
being added to the container, all simple operators are wrapped into the
|
||||||
corresponding eoGenOp (see e.g. how an <b><font color="#CC33CC">eoMonOp</font></b><a href="../../doc/html/eogenop_h-source.html#l00079">is
|
corresponding eoGenOp (see e.g. how an <b><font color="#CC33CC">eoMonOp</font></b><a href="../../doc/html/eo_gen_op_8h-source.html#l00084">is
|
||||||
wrapped</a> into an <b><font color="#CC33CC">eoMonGenOp</font></b>- or
|
wrapped</a> into an <b><font color="#CC33CC">eoMonGenOp</font></b>- or
|
||||||
how <a href="../../doc/html/eogenop_h-source.html#l00169">any operator
|
how <a href="../../doc/html/eo_gen_op_8h-source.html#l00169">any operator
|
||||||
is handled</a> by calling the appropriate wrapper). In particular, the
|
is handled</a> by calling the appropriate wrapper). In particular, the
|
||||||
wrapper ensures that <b><font color="#FF6600">individuals who have been
|
wrapper ensures that <b><font color="#FF6600">individuals who have been
|
||||||
modified are invalidated</font></b>.
|
modified are invalidated</font></b>.
|
||||||
|
|
|
||||||
|
|
@ -312,7 +312,7 @@ numbers who look random (w.r.t. some statistical criteria).
|
||||||
to ensure reproducibility of the results across different platforms, EO
|
to ensure reproducibility of the results across different platforms, EO
|
||||||
has its own RNG, the ``<font color="#FF6600">Mersenne Twister</font>''
|
has its own RNG, the ``<font color="#FF6600">Mersenne Twister</font>''
|
||||||
random number generator MT19937 (thanks to <font color="#FF0000">Takuji
|
random number generator MT19937 (thanks to <font color="#FF0000">Takuji
|
||||||
Nishimura</font>, see <font face="Arial,Helvetica"><font size=+1><a href="../../doc/html/eorng_h-source.html">eoRNG.h</a></font></font>
|
Nishimura</font>, see <font face="Arial,Helvetica"><font size=+1><a href="../../doc/html/eo_r_n_g_8h-source.html">eoRNG.h</a></font></font>
|
||||||
comments).
|
comments).
|
||||||
<p>Though you can define and use as many RNGs as you wish in EO, the library
|
<p>Though you can define and use as many RNGs as you wish in EO, the library
|
||||||
also provides you with a global RNG termed <b><tt><font color="#993300">eo::rng</font></tt></b>.
|
also provides you with a global RNG termed <b><tt><font color="#993300">eo::rng</font></tt></b>.
|
||||||
|
|
@ -340,7 +340,7 @@ following <b><font color="#FF6600">different probability distribution</font></b>
|
||||||
(e.g. floating point following <font face="Arial,Helvetica"><font size=+1><a href="../../doc/html/classeo_rng.html#a8">normal
|
(e.g. floating point following <font face="Arial,Helvetica"><font size=+1><a href="../../doc/html/classeo_rng.html#a8">normal
|
||||||
distribution</a></font></font>). See the <a href="../../doc/html/classeo_rng.html">complete
|
distribution</a></font></font>). See the <a href="../../doc/html/classeo_rng.html">complete
|
||||||
list of RNG primitives</a>.
|
list of RNG primitives</a>.
|
||||||
<p>EO also provides <a href="../../doc/html/rnd_generators_h-source.html">random_generators</a>
|
<p>EO also provides <a href="../../doc/html/rnd__generators_8h-source.html">random_generators</a>
|
||||||
that can be used in STL call to generate series of random numbers, as in
|
that can be used in STL call to generate series of random numbers, as in
|
||||||
<a href="eoInit.html">eoPop
|
<a href="eoInit.html">eoPop
|
||||||
initializers</a>.
|
initializers</a>.
|
||||||
|
|
@ -377,6 +377,8 @@ names of the variables they are used to initialize, e.g.</li>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<p><b><tt><font color="#993300">class eoMyClass</font></tt></b>
|
<p><b><tt><font color="#993300">class eoMyClass</font></tt></b>
|
||||||
<br><b><tt><font color="#993300">{</font></tt></b>
|
<br><b><tt><font color="#993300">{</font></tt></b>
|
||||||
<br><b><tt><font color="#993300">public:</font></tt></b>
|
<br><b><tt><font color="#993300">public:</font></tt></b>
|
||||||
|
|
|
||||||
Reference in a new issue