paradiseo/trunk/paradiseo-moeo/doc/html/classFlowShopEval.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

279 lines
16 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: FlowShopEval 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>FlowShopEval Class Reference</h1><!-- doxytag: class="FlowShopEval" --><!-- doxytag: inherits="moeoEvalFunc&lt; FlowShop &gt;" -->Evaluation of the objective vector a (multi-objective) <a class="el" href="classFlowShop.html">FlowShop</a> object.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FlowShopEval_8h-source.html">FlowShopEval.h</a>&gt;</code>
<p>
<p>Inheritance diagram for FlowShopEval:
<p><center><img src="classFlowShopEval.png" usemap="#FlowShopEval_map" border="0" alt=""></center>
<map name="FlowShopEval_map">
<area href="classmoeoEvalFunc.html" alt="moeoEvalFunc< FlowShop >" shape="rect" coords="0,168,176,192">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_eval_func.html" alt="eoEvalFunc< FlowShop >" shape="rect" coords="0,112,176,136">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html" alt="eoUF< A1, R >" shape="rect" coords="0,56,176,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="0,0,176,24">
</map>
<a href="classFlowShopEval-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#f830293ad66a253a4008937fd6d68fce">FlowShopEval</a> (unsigned int _M, unsigned int _N, const std::vector&lt; std::vector&lt; unsigned int &gt; &gt; &amp;_p, const std::vector&lt; unsigned int &gt; &amp;_d)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor. <a href="#f830293ad66a253a4008937fd6d68fce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#d6ea74de6e62c2b104b52aa68b5da3a5">operator()</a> (<a class="el" href="classFlowShop.html">FlowShop</a> &amp;_flowshop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">computation of the multi-objective evaluation of a <a class="el" href="classFlowShop.html">FlowShop</a> object <a href="#d6ea74de6e62c2b104b52aa68b5da3a5"></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">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#8b383e0c6cfd68fdf61e987b5fc91cf3">makespan</a> (const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;_flowshop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">computation of the makespan <a href="#8b383e0c6cfd68fdf61e987b5fc91cf3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#25d04be8fd17b5589fdac732accaaf9e">tardiness</a> (const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;_flowshop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">computation of the tardiness <a href="#25d04be8fd17b5589fdac732accaaf9e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector&lt; std::vector&lt;<br>
unsigned int &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#84cfc6f7bee1c0e4b1a29ca99e3c129b">completionTime</a> (const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;_flowshop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">computation of the completion times of a scheduling (for each job on each machine) C[i][j] = completion of the jth job of the scheduling on the ith machine <a href="#84cfc6f7bee1c0e4b1a29ca99e3c129b"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c7c7263d8c04d18d66729f4875d46cd"></a><!-- doxytag: member="FlowShopEval::M" ref="9c7c7263d8c04d18d66729f4875d46cd" args="" -->
unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#9c7c7263d8c04d18d66729f4875d46cd">M</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of machines <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48c4a108b54c2c949cb649e470c9e8c4"></a><!-- doxytag: member="FlowShopEval::N" ref="48c4a108b54c2c949cb649e470c9e8c4" args="" -->
unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#48c4a108b54c2c949cb649e470c9e8c4">N</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of jobs <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4152ec0542e13cbc8f4c4ece284a2b4"></a><!-- doxytag: member="FlowShopEval::p" ref="f4152ec0542e13cbc8f4c4ece284a2b4" args="" -->
std::vector&lt; std::vector&lt;<br>
unsigned int &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#f4152ec0542e13cbc8f4c4ece284a2b4">p</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">p[i][j] = processing time of job j on machine i <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a283f1bfd433ec1bd3a45c46bd6e3ba4"></a><!-- doxytag: member="FlowShopEval::d" ref="a283f1bfd433ec1bd3a45c46bd6e3ba4" args="" -->
std::vector&lt; unsigned int &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowShopEval.html#a283f1bfd433ec1bd3a45c46bd6e3ba4">d</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">d[j] = due-date of the job j <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Evaluation of the objective vector a (multi-objective) <a class="el" href="classFlowShop.html">FlowShop</a> object.
<p>
<p>
Definition at line <a class="el" href="FlowShopEval_8h-source.html#l00023">23</a> of file <a class="el" href="FlowShopEval_8h-source.html">FlowShopEval.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="f830293ad66a253a4008937fd6d68fce"></a><!-- doxytag: member="FlowShopEval::FlowShopEval" ref="f830293ad66a253a4008937fd6d68fce" args="(unsigned int _M, unsigned int _N, const std::vector&lt; std::vector&lt; unsigned int &gt; &gt; &amp;_p, const std::vector&lt; unsigned int &gt; &amp;_d)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FlowShopEval::FlowShopEval </td>
<td>(</td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>_M</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>_N</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; std::vector&lt; unsigned int &gt; &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; unsigned int &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_d</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Ctor.
<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>_M</em>&nbsp;</td><td>the number of machines </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_N</em>&nbsp;</td><td>the number of jobs to schedule </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_p</em>&nbsp;</td><td>the processing times </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_d</em>&nbsp;</td><td>the due dates </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FlowShopEval_8cpp-source.html#l00016">16</a> of file <a class="el" href="FlowShopEval_8cpp-source.html">FlowShopEval.cpp</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d6ea74de6e62c2b104b52aa68b5da3a5"></a><!-- doxytag: member="FlowShopEval::operator()" ref="d6ea74de6e62c2b104b52aa68b5da3a5" args="(FlowShop &amp;_flowshop)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void FlowShopEval::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_flowshop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
computation of the multi-objective evaluation of a <a class="el" href="classFlowShop.html">FlowShop</a> object
<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>_flowshop</em>&nbsp;</td><td>the <a class="el" href="classFlowShop.html">FlowShop</a> object to evaluate </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FlowShopEval_8cpp-source.html#l00021">21</a> of file <a class="el" href="FlowShopEval_8cpp-source.html">FlowShopEval.cpp</a>.
<p>
References <a class="el" href="FlowShopEval_8cpp-source.html#l00031">makespan()</a>, <a class="el" href="MOEO_8h-source.html#l00071">MOEO&lt; MOEOObjectiveVector, MOEOFitness, MOEODiversity &gt;::objectiveVector()</a>, and <a class="el" href="FlowShopEval_8cpp-source.html#l00040">tardiness()</a>.
</div>
</div><p>
<a class="anchor" name="8b383e0c6cfd68fdf61e987b5fc91cf3"></a><!-- doxytag: member="FlowShopEval::makespan" ref="8b383e0c6cfd68fdf61e987b5fc91cf3" args="(const FlowShop &amp;_flowshop)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double FlowShopEval::makespan </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_flowshop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
computation of the makespan
<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>_flowshop</em>&nbsp;</td><td>the genotype to evaluate </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FlowShopEval_8cpp-source.html#l00031">31</a> of file <a class="el" href="FlowShopEval_8cpp-source.html">FlowShopEval.cpp</a>.
<p>
References <a class="el" href="FlowShopEval_8cpp-source.html#l00053">completionTime()</a>, <a class="el" href="FlowShopEval_8h-source.html#l00047">M</a>, and <a class="el" href="FlowShopEval_8h-source.html#l00049">N</a>.
<p>
Referenced by <a class="el" href="FlowShopEval_8cpp-source.html#l00021">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="25d04be8fd17b5589fdac732accaaf9e"></a><!-- doxytag: member="FlowShopEval::tardiness" ref="25d04be8fd17b5589fdac732accaaf9e" args="(const FlowShop &amp;_flowshop)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double FlowShopEval::tardiness </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_flowshop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
computation of the tardiness
<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>_flowshop</em>&nbsp;</td><td>the genotype to evaluate </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FlowShopEval_8cpp-source.html#l00040">40</a> of file <a class="el" href="FlowShopEval_8cpp-source.html">FlowShopEval.cpp</a>.
<p>
References <a class="el" href="FlowShopEval_8cpp-source.html#l00053">completionTime()</a>, <a class="el" href="FlowShopEval_8h-source.html#l00053">d</a>, <a class="el" href="FlowShopEval_8h-source.html#l00047">M</a>, and <a class="el" href="FlowShopEval_8h-source.html#l00049">N</a>.
<p>
Referenced by <a class="el" href="FlowShopEval_8cpp-source.html#l00021">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="84cfc6f7bee1c0e4b1a29ca99e3c129b"></a><!-- doxytag: member="FlowShopEval::completionTime" ref="84cfc6f7bee1c0e4b1a29ca99e3c129b" args="(const FlowShop &amp;_flowshop)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; std::vector&lt; unsigned int &gt; &gt; FlowShopEval::completionTime </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classFlowShop.html">FlowShop</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_flowshop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
computation of the completion times of a scheduling (for each job on each machine) C[i][j] = completion of the jth job of the scheduling on the ith machine
<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>_flowshop</em>&nbsp;</td><td>the genotype to evaluate </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FlowShopEval_8cpp-source.html#l00053">53</a> of file <a class="el" href="FlowShopEval_8cpp-source.html">FlowShopEval.cpp</a>.
<p>
References <a class="el" href="FlowShopEval_8h-source.html#l00047">M</a>, <a class="el" href="FlowShopEval_8h-source.html#l00049">N</a>, and <a class="el" href="FlowShopEval_8h-source.html#l00051">p</a>.
<p>
Referenced by <a class="el" href="FlowShopEval_8cpp-source.html#l00031">makespan()</a>, and <a class="el" href="FlowShopEval_8cpp-source.html#l00040">tardiness()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="FlowShopEval_8h-source.html">FlowShopEval.h</a><li><a class="el" href="FlowShopEval_8cpp-source.html">FlowShopEval.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>