paradiseo/trunk/paradiseo-moeo/doc/html/classFlowShopOpCrossoverQuad.html
legrand 04b12455d0 added good doc files
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@683 331e1502-861f-0410-8da2-ba01fb791d7f
2007-10-08 14:49:10 +00:00

169 lines
10 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-MOEOMovingObjects: FlowShopOpCrossoverQuad Class 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&nbsp;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>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>FlowShopOpCrossoverQuad Class Reference</h1><!-- doxytag: class="FlowShopOpCrossoverQuad" --><!-- doxytag: inherits="eoQuadOp&lt; FlowShop &gt;" -->Quadratic crossover operator for flow-shop (modify the both genotypes).
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FlowShopOpCrossoverQuad_8h-source.html">FlowShopOpCrossoverQuad.h</a>&gt;</code>
<p>
<p>Inheritance diagram for FlowShopOpCrossoverQuad:
<p><center><img src="classFlowShopOpCrossoverQuad.png" usemap="#FlowShopOpCrossoverQuad_map" border="0" alt=""></center>
<map name="FlowShopOpCrossoverQuad_map">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html" alt="eoQuadOp< FlowShop >" shape="rect" coords="129,112,377,136">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html" alt="eoOp< EOType >" shape="rect" coords="0,56,248,80">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_b_f.html" alt="eoBF< FlowShop &, FlowShop &, bool >" shape="rect" coords="258,56,506,80">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="258,0,506,24">
</map>
<a href="classFlowShopOpCrossoverQuad-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"><a class="anchor" name="60ac69b87970b7000980f65aa6ead44a"></a><!-- doxytag: member="FlowShopOpCrossoverQuad::className" ref="60ac69b87970b7000980f65aa6ead44a" args="() const " -->
std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopOpCrossoverQuad.html#60ac69b87970b7000980f65aa6ead44a">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the class name (used to display statistics) <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopOpCrossoverQuad.html#92f70807bea24d3c233af580e2c55e3a">operator()</a> (<a class="el" href="classFlowShop.html">FlowShop</a> &amp;_flowshop1, <a class="el" href="classFlowShop.html">FlowShop</a> &amp;_flowshop2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">eoQuad crossover - _flowshop1 and _flowshop2 are the (future) offspring, i.e. <a href="#92f70807bea24d3c233af580e2c55e3a"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFlowShop.html">FlowShop</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopOpCrossoverQuad.html#cbc2f344a0a29861900f4846597564c3">generateOffspring</a> (const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;_parent1, const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;_parent2, unsigned int _point1, unsigned int _point2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">generation of an offspring by a 2 points crossover <a href="#cbc2f344a0a29861900f4846597564c3"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Quadratic crossover operator for flow-shop (modify the both genotypes).
<p>
<p>
Definition at line <a class="el" href="FlowShopOpCrossoverQuad_8h-source.html#l00022">22</a> of file <a class="el" href="FlowShopOpCrossoverQuad_8h-source.html">FlowShopOpCrossoverQuad.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="92f70807bea24d3c233af580e2c55e3a"></a><!-- doxytag: member="FlowShopOpCrossoverQuad::operator()" ref="92f70807bea24d3c233af580e2c55e3a" args="(FlowShop &amp;_flowshop1, FlowShop &amp;_flowshop2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool FlowShopOpCrossoverQuad::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_flowshop1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_flowshop2</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
eoQuad crossover - _flowshop1 and _flowshop2 are the (future) offspring, i.e.
<p>
_copies_ of the parents <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_flowshop1</em>&nbsp;</td><td>the first parent </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_flowshop2</em>&nbsp;</td><td>the second parent </td></tr>
</table>
</dl>
<p>
Implements <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_b_f.html#a03c40b95210569b826df79a2237a0d0">eoBF&lt; FlowShop &amp;, FlowShop &amp;, bool &gt;</a>.
<p>
Definition at line <a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html#l00022">22</a> of file <a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html">FlowShopOpCrossoverQuad.cpp</a>.
<p>
References <a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html#l00054">generateOffspring()</a>, <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_rng.html#f0829d258c74cdc3a8f6cd72c0287cb4">eoRng::random()</a>, and <a class="el" href="moeoVector_8h-source.html#l00056">moeoVector&lt; MOEOObjectiveVector, MOEOFitness, MOEODiversity, GeneType &gt;::value()</a>.
</div>
</div><p>
<a class="anchor" name="cbc2f344a0a29861900f4846597564c3"></a><!-- doxytag: member="FlowShopOpCrossoverQuad::generateOffspring" ref="cbc2f344a0a29861900f4846597564c3" args="(const FlowShop &amp;_parent1, const FlowShop &amp;_parent2, unsigned int _point1, unsigned int _point2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classFlowShop.html">FlowShop</a> FlowShopOpCrossoverQuad::generateOffspring </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_parent1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_parent2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>_point1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>_point2</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
generation of an offspring by a 2 points crossover
<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>_parent1</em>&nbsp;</td><td>the first parent </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_parent2</em>&nbsp;</td><td>the second parent </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_point1</em>&nbsp;</td><td>the first point </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_point2</em>&nbsp;</td><td>the second point </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html#l00054">54</a> of file <a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html">FlowShopOpCrossoverQuad.cpp</a>.
<p>
Referenced by <a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html#l00022">operator()()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="FlowShopOpCrossoverQuad_8h-source.html">FlowShopOpCrossoverQuad.h</a><li><a class="el" href="FlowShopOpCrossoverQuad_8cpp-source.html">FlowShopOpCrossoverQuad.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Oct 8 10:35:52 2007 for ParadisEO-MOEOMovingObjects by&nbsp;
<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>