This commit is contained in:
kuepper 2005-10-05 22:08:29 +00:00
commit 3428a464c1
3 changed files with 34 additions and 30 deletions

View file

@ -260,11 +260,11 @@
<ul>
<li><a href="http://www.cs.bham.ac.uk/Mirrors/ftp.de.uu.net/EC/clife/www/">The
Hitch-Hiker's Guide to Evolutionary Computation</a>, FAQ for
<a href="news:comp.ai.genetic">comp.ai.genetic</a></li>.
<a href="news:comp.ai.genetic">comp.ai.genetic</a>.</li>
<li><a href="http://en.wikipedia.org/wiki/Evolutionary_algorithm">Wikipedia</a>
on Evolutionary algorithms</li>.
on Evolutionary algorithms.</li>
<li>Charles Darwin: <a href="http://www.bbc.co.uk/education/darwin/origin/index.htm">The
Origin of Species</a></li>.x
Origin of Species</a>.</li>
</ul>
</td>
</tr>

View file

@ -33,20 +33,24 @@
#include <eoTransform.h>
//-----------------------------------------------------------------------------
/**
eoBreed: breeding is thought of a combination of selecting and transforming
a population. For efficiency reasons you might want to build your own
eoBreed derived class rather than relying on a seperate select and transform
function.
/** Breeding: combination of selecting and transforming a population
@see eoSelect, eoTransform, eoSelectTransform
Breeding is thought of a combination of selecting and transforming a
population. For efficiency reasons you might want to build your own
eoBreed derived class rather than relying on a seperate select and
transform function.
@see eoSelect, eoTransform, eoSelectTransform
*/
template<class EOT>
class eoBreed : public eoBF<const eoPop<EOT>&, eoPop<EOT>&, void>
{};
/**
eoSelectTransform: special breeder that is just an application of an embedded select,
/** Embedded select, followed by an embedded transform
Special breeder that is just an application of an embedded select,
followed by an embedded transform
*/
template <class EOT>

View file

@ -177,7 +177,7 @@ public:
{
try
{
unsigned pSize = _pop.size();
unsigned pSize = _pop.size();
offspring.clear(); // new offspring
breed(_pop, offspring);