git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@397 331e1502-861f-0410-8da2-ba01fb791d7f
457 lines
32 KiB
HTML
457 lines
32 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>ParadisEO-MOEO: moeoNSGA< MOEOT > Class Template Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.4.7 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<form action="search.php" method="get">
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
<tr>
|
|
<td><label> <u>S</u>earch for </label></td>
|
|
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</li>
|
|
</ul></div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<h1>moeoNSGA< MOEOT > Class Template Reference</h1><!-- doxytag: class="moeoNSGA" --><!-- doxytag: inherits="moeoEA" -->NSGA (Non-dominated Sorting Genetic Algorithm) as described in: N.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoNSGA< MOEOT >:
|
|
<p><center><img src="classmoeoNSGA.png" usemap="#moeoNSGA< MOEOT >_map" border="0" alt=""></center>
|
|
<map name="moeoNSGA< MOEOT >_map">
|
|
<area href="classmoeoEA.html" alt="moeoEA< MOEOT >" shape="rect" coords="78,168,225,192">
|
|
<area href="classmoeoAlgo.html" alt="moeoAlgo" shape="rect" coords="0,112,147,136">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_algo.html" alt="eoAlgo< MOEOT >" shape="rect" coords="157,112,304,136">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html" alt="eoUF< A1, R >" shape="rect" coords="157,56,304,80">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="157,0,304,24">
|
|
</map>
|
|
<a href="classmoeoNSGA-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#3f5d288a5f3bdeb8c35dfcefbaf0dd43">moeoNSGA</a> (unsigned int _maxGen, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > &_eval, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>< MOEOT > &_op, double _nicheSize=0.5)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Simple ctor with a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>. <a href="#3f5d288a5f3bdeb8c35dfcefbaf0dd43"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#177e825966d70e7f697a52be7819e830">moeoNSGA</a> (unsigned int _maxGen, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > &_eval, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>< MOEOT > &_op, double _nicheSize=0.5)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Simple ctor with a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>. <a href="#177e825966d70e7f697a52be7819e830"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#7c7b4bb55b7ee74da780f20a943809fd">moeoNSGA</a> (unsigned int _maxGen, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > &_eval, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_quad_op.html">eoQuadOp</a>< MOEOT > &_crossover, double _pCross, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>< MOEOT > &_mutation, double _pMut, double _nicheSize=0.5)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor with a crossover, a mutation and their corresponding rates. <a href="#7c7b4bb55b7ee74da780f20a943809fd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#5f8a315499cb7e65911af0c7587144d8">moeoNSGA</a> (<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_continue.html">eoContinue</a>< MOEOT > &_continuator, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > &_eval, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>< MOEOT > &_op, double _nicheSize=0.5)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor with a continuator (instead of _maxGen) and a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>. <a href="#5f8a315499cb7e65911af0c7587144d8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#eacee61268618c12d44d2f07cf7a796c">moeoNSGA</a> (<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_continue.html">eoContinue</a>< MOEOT > &_continuator, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > &_eval, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>< MOEOT > &_op, double _nicheSize=0.5)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor with a continuator (instead of _maxGen) and a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>. <a href="#eacee61268618c12d44d2f07cf7a796c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#632676ceb299f3318c116b2b2b386b0d">operator()</a> (<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< MOEOT > &_pop)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Apply a few generation of evolution to the population _pop until the stopping criteria is verified. <a href="#632676ceb299f3318c116b2b2b386b0d"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6dbb57c19ff00085df8397cebcce066d"></a><!-- doxytag: member="moeoNSGA::defaultGenContinuator" ref="6dbb57c19ff00085df8397cebcce066d" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_continue.html">eoGenContinue</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#6dbb57c19ff00085df8397cebcce066d">defaultGenContinuator</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">a continuator based on the number of generations (used as default) <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef67320e3820548b333577b33430fcbe"></a><!-- doxytag: member="moeoNSGA::continuator" ref="ef67320e3820548b333577b33430fcbe" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_continue.html">eoContinue</a>< MOEOT > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#ef67320e3820548b333577b33430fcbe">continuator</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">stopping criteria <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b54adef108d8b4c5a7c0da1e2065ac85"></a><!-- doxytag: member="moeoNSGA::popEval" ref="b54adef108d8b4c5a7c0da1e2065ac85" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop_loop_eval.html">eoPopLoopEval</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#b54adef108d8b4c5a7c0da1e2065ac85">popEval</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">evaluation function used to evaluate the whole population <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffd95fab4aed24fc866334c28e77a666"></a><!-- doxytag: member="moeoNSGA::select" ref="ffd95fab4aed24fc866334c28e77a666" args="" -->
|
|
<a class="el" href="classmoeoDetTournamentSelect.html">moeoDetTournamentSelect</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#ffd95fab4aed24fc866334c28e77a666">select</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">binary tournament selection <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c13f9fa53c29d93af39cca083ccb10d"></a><!-- doxytag: member="moeoNSGA::fitnessAssignment" ref="2c13f9fa53c29d93af39cca083ccb10d" args="" -->
|
|
<a class="el" href="classmoeoFastNonDominatedSortingFitnessAssignment.html">moeoFastNonDominatedSortingFitnessAssignment</a><<br>
|
|
MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#2c13f9fa53c29d93af39cca083ccb10d">fitnessAssignment</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">fitness assignment used in NSGA-II <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e361fa8aed173619e2aae64dba0c504a"></a><!-- doxytag: member="moeoNSGA::diversityAssignment" ref="e361fa8aed173619e2aae64dba0c504a" args="" -->
|
|
<a class="el" href="classmoeoFrontByFrontSharingDiversityAssignment.html">moeoFrontByFrontSharingDiversityAssignment</a><<br>
|
|
MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#e361fa8aed173619e2aae64dba0c504a">diversityAssignment</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">diversity assignment used in NSGA-II <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8470efa1ef87b6448f081ec802858a8c"></a><!-- doxytag: member="moeoNSGA::replace" ref="8470efa1ef87b6448f081ec802858a8c" args="" -->
|
|
<a class="el" href="classmoeoElitistReplacement.html">moeoElitistReplacement</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#8470efa1ef87b6448f081ec802858a8c">replace</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">elitist replacement <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="879b4451e77b627705280373ff0a26ab"></a><!-- doxytag: member="moeoNSGA::defaultSGAGenOp" ref="879b4451e77b627705280373ff0a26ab" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_s_g_a_gen_op.html">eoSGAGenOp</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#879b4451e77b627705280373ff0a26ab">defaultSGAGenOp</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">an object for genetic operators (used as default) <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ee7a5ea8ed71859ea544741de9989f2"></a><!-- doxytag: member="moeoNSGA::genBreed" ref="3ee7a5ea8ed71859ea544741de9989f2" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_general_breeder.html">eoGeneralBreeder</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#3ee7a5ea8ed71859ea544741de9989f2">genBreed</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">general breeder <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1538e7c32062d9d9c634b9948ca28000"></a><!-- doxytag: member="moeoNSGA::breed" ref="1538e7c32062d9d9c634b9948ca28000" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_breed.html">eoBreed</a>< MOEOT > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoNSGA.html#1538e7c32062d9d9c634b9948ca28000">breed</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">breeder <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class MOEOT><br>
|
|
class moeoNSGA< MOEOT ></h3>
|
|
|
|
NSGA (Non-dominated Sorting Genetic Algorithm) as described in: N.
|
|
<p>
|
|
Srinivas, K. Deb, "Multiobjective Optimization Using Nondominated Sorting in Genetic Algorithms". Evolutionary Computation, Vol. 2(3), No 2, pp. 221-248 (1994). This class builds the NSGA algorithm only by using the fine-grained components of the ParadisEO-MOEO framework.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00037">37</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="3f5d288a5f3bdeb8c35dfcefbaf0dd43"></a><!-- doxytag: member="moeoNSGA::moeoNSGA" ref="3f5d288a5f3bdeb8c35dfcefbaf0dd43" args="(unsigned int _maxGen, eoEvalFunc< MOEOT > &_eval, eoGenOp< MOEOT > &_op, double _nicheSize=0.5)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoNSGA.html">moeoNSGA</a>< MOEOT >::<a class="el" href="classmoeoNSGA.html">moeoNSGA</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>_maxGen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_eval</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_op</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Simple ctor with a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_maxGen</em> </td><td>number of generations before stopping </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_eval</em> </td><td>evaluation function </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_op</em> </td><td>variation operator </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_nicheSize</em> </td><td>niche size </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00048">48</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="177e825966d70e7f697a52be7819e830"></a><!-- doxytag: member="moeoNSGA::moeoNSGA" ref="177e825966d70e7f697a52be7819e830" args="(unsigned int _maxGen, eoEvalFunc< MOEOT > &_eval, eoTransform< MOEOT > &_op, double _nicheSize=0.5)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoNSGA.html">moeoNSGA</a>< MOEOT >::<a class="el" href="classmoeoNSGA.html">moeoNSGA</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>_maxGen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_eval</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_op</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Simple ctor with a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_maxGen</em> </td><td>number of generations before stopping </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_eval</em> </td><td>evaluation function </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_op</em> </td><td>variation operator </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_nicheSize</em> </td><td>niche size </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00061">61</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="7c7b4bb55b7ee74da780f20a943809fd"></a><!-- doxytag: member="moeoNSGA::moeoNSGA" ref="7c7b4bb55b7ee74da780f20a943809fd" args="(unsigned int _maxGen, eoEvalFunc< MOEOT > &_eval, eoQuadOp< MOEOT > &_crossover, double _pCross, eoMonOp< MOEOT > &_mutation, double _pMut, double _nicheSize=0.5)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoNSGA.html">moeoNSGA</a>< MOEOT >::<a class="el" href="classmoeoNSGA.html">moeoNSGA</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>_maxGen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_eval</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_quad_op.html">eoQuadOp</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_crossover</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_pCross</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_mutation</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_pMut</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Ctor with a crossover, a mutation and their corresponding rates.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_maxGen</em> </td><td>number of generations before stopping </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_eval</em> </td><td>evaluation function </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_crossover</em> </td><td>crossover </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_pCross</em> </td><td>crossover probability </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_mutation</em> </td><td>mutation </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_pMut</em> </td><td>mutation probability </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_nicheSize</em> </td><td>niche size </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00077">77</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5f8a315499cb7e65911af0c7587144d8"></a><!-- doxytag: member="moeoNSGA::moeoNSGA" ref="5f8a315499cb7e65911af0c7587144d8" args="(eoContinue< MOEOT > &_continuator, eoEvalFunc< MOEOT > &_eval, eoGenOp< MOEOT > &_op, double _nicheSize=0.5)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoNSGA.html">moeoNSGA</a>< MOEOT >::<a class="el" href="classmoeoNSGA.html">moeoNSGA</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_continue.html">eoContinue</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_continuator</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_eval</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_op</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Ctor with a continuator (instead of _maxGen) and a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_gen_op.html">eoGenOp</a>.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_continuator</em> </td><td>stopping criteria </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_eval</em> </td><td>evaluation function </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_op</em> </td><td>variation operator </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_nicheSize</em> </td><td>niche size </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00091">91</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="eacee61268618c12d44d2f07cf7a796c"></a><!-- doxytag: member="moeoNSGA::moeoNSGA" ref="eacee61268618c12d44d2f07cf7a796c" args="(eoContinue< MOEOT > &_continuator, eoEvalFunc< MOEOT > &_eval, eoTransform< MOEOT > &_op, double _nicheSize=0.5)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoNSGA.html">moeoNSGA</a>< MOEOT >::<a class="el" href="classmoeoNSGA.html">moeoNSGA</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_continue.html">eoContinue</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_continuator</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_eval</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_op</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Ctor with a continuator (instead of _maxGen) and a <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_transform.html">eoTransform</a>.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_continuator</em> </td><td>stopping criteria </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_eval</em> </td><td>evaluation function </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_op</em> </td><td>variation operator </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_nicheSize</em> </td><td>niche size </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00104">104</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="632676ceb299f3318c116b2b2b386b0d"></a><!-- doxytag: member="moeoNSGA::operator()" ref="632676ceb299f3318c116b2b2b386b0d" args="(eoPop< MOEOT > &_pop)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void <a class="el" href="classmoeoNSGA.html">moeoNSGA</a>< MOEOT >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_pop</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Apply a few generation of evolution to the population _pop until the stopping criteria is verified.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_pop</em> </td><td>the population </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoNSGA_8h-source.html#l00114">114</a> of file <a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a>.
|
|
<p>
|
|
References <a class="el" href="moeoNSGA_8h-source.html#l00154">moeoNSGA< MOEOT >::breed</a>, <a class="el" href="moeoNSGA_8h-source.html#l00138">moeoNSGA< MOEOT >::continuator</a>, <a class="el" href="moeoNSGA_8h-source.html#l00146">moeoNSGA< MOEOT >::diversityAssignment</a>, <a class="el" href="moeoNSGA_8h-source.html#l00144">moeoNSGA< MOEOT >::fitnessAssignment</a>, <a class="el" href="moeoNSGA_8h-source.html#l00140">moeoNSGA< MOEOT >::popEval</a>, and <a class="el" href="moeoNSGA_8h-source.html#l00148">moeoNSGA< MOEOT >::replace</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="moeoNSGA_8h-source.html">moeoNSGA.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 26 15:13:04 2007 for ParadisEO-MOEO by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
|
</body>
|
|
</html>
|