added ready-to-read doc

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@839 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2007-12-07 15:58:27 +00:00
commit d41316d4b4
107 changed files with 12125 additions and 0 deletions

View file

@ -0,0 +1,47 @@
<!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>CVRP-TW: Class List</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><a href="namespaces.html"><span>Namespaces</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 id="current"><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>CVRP-TW Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="structeo_v_r_p_utils_1_1_client_data.html">eoVRPUtils::ClientData</a></td><td class="indexvalue">Information regarding each client in the dataset </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td class="indexvalue">Defines the getoype used to solve the VRP-TW problem </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td class="indexvalue">Implementation of the classic Edge Crossover from the TSP </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_eval_func.html">eoVRPEvalFunc</a></td><td class="indexvalue">Evaluates an individual of type <a class="el" href="classeo_v_r_p.html">eoVRP</a> </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_generic_crossover.html">eoVRPGenericCrossover</a></td><td class="indexvalue">Implementation of the generic crossover for the VRP-TW by Tavares et al </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td class="indexvalue">Class defining the initializer functor </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td class="indexvalue">Implementation of variations of the four mutation operators for the VRP-TW defined by Tavares et al </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_one_point_crossover.html">eoVRPOnePointCrossover</a></td><td class="indexvalue">Implementation of the simple One Point Crossover </td></tr>
<tr><td class="indexkey"><a class="el" href="classeo_v_r_p_stat.html">eoVRPStat</a></td><td class="indexvalue">Manages the statistics of the VRP problem </td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

View file

@ -0,0 +1,90 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRP Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p.html">eoVRP</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#f093df5d8c56c360c6b13c66c5dd310e">AtomType</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html">eoVector&lt; eoMinimizingFitness, int &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#8c7f524cf34787f9ec26ffcc420565c5">className</a>() const </td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#1c53a7a42174c7d40db92da644b25fec">clean</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#66fb699c1d34cac859406ad450be406a">cleanRoutes</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#2d39a6b7bec940beec40252dda153d10">ContainerType</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html">eoVector&lt; eoMinimizingFitness, int &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#fdfd2633515baa85c3fdaf39be6dea5c">decode</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#e188fadc91b4ee256e144ac86ee80a40">decoded</a>() const </td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#b56c820bff344b4cd7338628a6f8f083">encode</a>(Routes &amp;_routes)</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#f3219f2db76a83f25a8096d2afd61d12">EO</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#f3219f2db76a83f25a8096d2afd61d12">EO</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#2f0352bfcad393fb2c6713a4e926ff3f">eoVector</a>(unsigned size=0, intvalue=int())</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html">eoVector&lt; eoMinimizingFitness, int &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#e423567746a960f2992da4b04b2e8a38">eoVector</a>(const eoVector&lt; OtherFitnessType, int &gt; &amp;_vec)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html">eoVector&lt; eoMinimizingFitness, int &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#20e79a2ad5721ce7f2fe4a88f00692de">eoVRP</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#1733318610dff5f47ac7d1272a4b4fb1">eoVRP</a>(const eoVRP &amp;_orig)</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#57d5610c9296eb927816a2f06bd00a08">fitness</a>() const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#2d88f93163bc50fe57a18627e3b776b9">fitness</a>(const Fitness &amp;_fitness)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#0e9eb37c82c311a6498be52c59586395">fitness</a>(performance_type perf)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#eda82638c9dc78d8fbc90d8bae222d1d">fitness</a>(void) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#62f48f97634c80b68b4bdb6e2f408ce6">Fitness</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#2c8bbb894baa564cd8b38b5699321763">fitness_traits</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#04467a534c57168bf92c80f3d4f338de">fitnessReference</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#8a9b70e171f3d4a65421f864f8402543">invalid</a>() const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#f57e9b0b1772446b12f97abfc0d64a59">invalidate</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#cbf16cc4258830cebfbd68fec97bfd76">invalidate</a>(void)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#dec1d9ef4915ccd68a3b9594009af678">invalidate_worth</a>(void)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#e4d189ca6349a875ae8d6fd9c7fe2491">length</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#0e8c40e00bd835dd380d26d4a3abf544">mLength</a></td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#ecbcda9f187d0d842c043544daa33558">mRoutes</a></td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#88251d6142042876183fc25bc50fdc64">operator&lt;</a>(const eoVector&lt; eoMinimizingFitness, int &gt; &amp;_eo) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html">eoVector&lt; eoMinimizingFitness, int &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#47622fb5583b3ac0a6308c56a2727fdd">EO::operator&lt;</a>(const EO &amp;_eo2) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#34f0c0dddb9ba3f666b374931713fde6">EO::operator&lt;</a>(const EO&lt; Fitness, Traits &gt; &amp;other) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#c0fcb2c17f849bfa61dd5d7ff072e0e4">operator=</a>(const eoVRP &amp;_orig)</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#7860c3d97a5ae50a5bf860f18fda0f02">operator&gt;</a>(const EO &amp;_eo2) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#17dba30efbc49c4e9816814fd1328ca5">operator&gt;</a>(const EO&lt; Fitness, Traits &gt; &amp;other) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#0f3a1e631c64285c966b416a4234a8ce">performance</a>(performance_type perf)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#91573893b98cc10bfc12ff6948f39ac9">performance</a>(void) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#a3b3914123736b9bcd9066c4c7f0e463">performance_type</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#738f0aa43d8608cc68e41b1d3f8c944d">printAllOn</a>(std::ostream &amp;_os) const </td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#dc4cb13768ef1a2c810d4d298b36707c">printOn</a>(std::ostream &amp;_os) const </td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#ec256ed5b3b15b6d220494015e2aba93">printRoute</a>(std::ostream &amp;_os, unsigned _p) const </td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#2a4c249cc6b15819c48c9210db385dc7">printRoutes</a>(std::ostream &amp;_os) const </td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#fdb87ffaf7ac95988e8896bb896183cc">readFrom</a>(std::istream &amp;_is)</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#0e000044813b4ebdd822e7e2f8540d8b">routes</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#d250965da9726a2622b4e3e7d37867b7">storage_type</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#b2e16c8059fd3606e8580bd327542d09">value</a>(const std::vector&lt; int &gt; &amp;_v)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html">eoVector&lt; eoMinimizingFitness, int &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#d4d39085735a75340c8dbbfd556f0eef">worth</a>(worth_type worth)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#ab3c3d6204397a472d0b1c0712b3fb1a">worth</a>(void) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#0ce9beaea3bf461264a67d341c66f541">worth_type</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#94d6a24a40dad9d98898466799e75fdf">~EO</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html">EO&lt; F &gt;</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_object.html#e10c6f17bfca09833245227b379dd62a">~eoObject</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_object.html">eoObject</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_persistent.html#3fbc81768adc08cc9a31a15030b114c9">~eoPersistent</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_persistent.html">eoPersistent</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_printable.html#74ffc0d020758b11f640a798d251679e">~eoPrintable</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_printable.html">eoPrintable</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p.html#dedbd3437656d5dacafab6652219c8e2">~eoVRP</a>()</td><td><a class="el" href="classeo_v_r_p.html">eoVRP</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

View file

@ -0,0 +1,589 @@
<!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>CVRP-TW: eoVRP 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><a href="namespaces.html"><span>Namespaces</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>eoVRP Class Reference</h1><!-- doxytag: class="eoVRP" --><!-- doxytag: inherits="eoVector&lt; eoMinimizingFitness, int &gt;" -->Defines the getoype used to solve the VRP-TW problem.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoVRP:
<p><center><img src="classeo_v_r_p.png" usemap="#eoVRP_map" border="0" alt=""></center>
<map name="eoVRP_map">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html" alt="eoVector< eoMinimizingFitness, int >" shape="rect" coords="116,168,339,192">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html" alt="EO< F >" shape="rect" coords="116,112,339,136">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_object.html" alt="eoObject" shape="rect" coords="0,56,223,80">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_persistent.html" alt="eoPersistent" shape="rect" coords="233,56,456,80">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_printable.html" alt="eoPrintable" shape="rect" coords="233,0,456,24">
</map>
<a href="classeo_v_r_p-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="20e79a2ad5721ce7f2fe4a88f00692de"></a><!-- doxytag: member="eoVRP::eoVRP" ref="20e79a2ad5721ce7f2fe4a88f00692de" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#20e79a2ad5721ce7f2fe4a88f00692de">eoVRP</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor: initializes variables to safe values. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#1733318610dff5f47ac7d1272a4b4fb1">eoVRP</a> (const <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_orig)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy contructor: creates a new individual from a given one. <a href="#1733318610dff5f47ac7d1272a4b4fb1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dedbd3437656d5dacafab6652219c8e2"></a><!-- doxytag: member="eoVRP::~eoVRP" ref="dedbd3437656d5dacafab6652219c8e2" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#dedbd3437656d5dacafab6652219c8e2">~eoVRP</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default destructor: nothing to do here. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#c0fcb2c17f849bfa61dd5d7ff072e0e4">operator=</a> (const <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_orig)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performs a copy from the invidual passed as argument. <a href="#c0fcb2c17f849bfa61dd5d7ff072e0e4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#8c7f524cf34787f9ec26ffcc420565c5">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a string containing the name of the class. <a href="#8c7f524cf34787f9ec26ffcc420565c5"></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="classeo_v_r_p.html#dc4cb13768ef1a2c810d4d298b36707c">printOn</a> (std::ostream &amp;_os) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prints the individual to a given stream. <a href="#dc4cb13768ef1a2c810d4d298b36707c"></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="classeo_v_r_p.html#738f0aa43d8608cc68e41b1d3f8c944d">printAllOn</a> (std::ostream &amp;_os) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prints a detailed version of the individual (decoding information, unsatisfied contraints, etc. <a href="#738f0aa43d8608cc68e41b1d3f8c944d"></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="classeo_v_r_p.html#fdb87ffaf7ac95988e8896bb896183cc">readFrom</a> (std::istream &amp;_is)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reads an individual from a given stream. <a href="#fdb87ffaf7ac95988e8896bb896183cc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const Routes &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#0e000044813b4ebdd822e7e2f8540d8b">routes</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a reference to the decoded individual. <a href="#0e000044813b4ebdd822e7e2f8540d8b"></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="classeo_v_r_p.html#e4d189ca6349a875ae8d6fd9c7fe2491">length</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the total cost (length) of traveling all the routes. <a href="#e4d189ca6349a875ae8d6fd9c7fe2491"></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="classeo_v_r_p.html#2a4c249cc6b15819c48c9210db385dc7">printRoutes</a> (std::ostream &amp;_os) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Aux. <a href="#2a4c249cc6b15819c48c9210db385dc7"></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="classeo_v_r_p.html#ec256ed5b3b15b6d220494015e2aba93">printRoute</a> (std::ostream &amp;_os, unsigned _p) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Aux. <a href="#ec256ed5b3b15b6d220494015e2aba93"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#1c53a7a42174c7d40db92da644b25fec">clean</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cleans the individual (the vector of clients and also the decoding information). <a href="#1c53a7a42174c7d40db92da644b25fec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#66fb699c1d34cac859406ad450be406a">cleanRoutes</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Invalidates the decoding information (usually after crossover or mutation). <a href="#66fb699c1d34cac859406ad450be406a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#e188fadc91b4ee256e144ac86ee80a40">decoded</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Has this individual been decoded? <a href="#e188fadc91b4ee256e144ac86ee80a40"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#b56c820bff344b4cd7338628a6f8f083">encode</a> (Routes &amp;_routes)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Encodes an individual from a set of routes (usually used within crossover). <a href="#b56c820bff344b4cd7338628a6f8f083"></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="classeo_v_r_p.html#fdfd2633515baa85c3fdaf39be6dea5c">decode</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decodes an individual in a set of routes and calculates its cost (length) of traveling. <a href="#fdfd2633515baa85c3fdaf39be6dea5c"></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="ecbcda9f187d0d842c043544daa33558"></a><!-- doxytag: member="eoVRP::mRoutes" ref="ecbcda9f187d0d842c043544daa33558" args="" -->
Routes&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#ecbcda9f187d0d842c043544daa33558">mRoutes</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A set of routes containing the decoding information of the individual. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8c40e00bd835dd380d26d4a3abf544"></a><!-- doxytag: member="eoVRP::mLength" ref="0e8c40e00bd835dd380d26d4a3abf544" args="" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p.html#0e8c40e00bd835dd380d26d4a3abf544">mLength</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached cost (length) of traveling the set of routes defined by the individual. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Defines the getoype used to solve the VRP-TW problem.
<p>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00050">50</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1733318610dff5f47ac7d1272a4b4fb1"></a><!-- doxytag: member="eoVRP::eoVRP" ref="1733318610dff5f47ac7d1272a4b4fb1" args="(const eoVRP &amp;_orig)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">eoVRP::eoVRP </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_orig</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Copy contructor: creates a new individual from a given one.
<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>_orig</em>&nbsp;</td><td>The individual used to create the new one. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00068">68</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00090">operator=()</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c0fcb2c17f849bfa61dd5d7ff072e0e4"></a><!-- doxytag: member="eoVRP::operator=" ref="c0fcb2c17f849bfa61dd5d7ff072e0e4" args="(const eoVRP &amp;_orig)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classeo_v_r_p.html">eoVRP</a>&amp; eoVRP::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_orig</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Performs a copy from the invidual passed as argument.
<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>_orig</em>&nbsp;</td><td>The individual to copy from. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to this. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00090">90</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00267">clean()</a>, <a class="el" href="eo_v_r_p_8h-source.html#l00451">mLength</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_8h-source.html#l00068">eoVRP()</a>.
</div>
</div><p>
<a class="anchor" name="8c7f524cf34787f9ec26ffcc420565c5"></a><!-- doxytag: member="eoVRP::className" ref="8c7f524cf34787f9ec26ffcc420565c5" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string eoVRP::className </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a string containing the name of the class.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The string containing the name of the class. </dd></dl>
<p>
Reimplemented from <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#a5c0cc9d8ba6532c0e1c3b8522348551">EO&lt; F &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00117">117</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
</div>
</div><p>
<a class="anchor" name="dc4cb13768ef1a2c810d4d298b36707c"></a><!-- doxytag: member="eoVRP::printOn" ref="dc4cb13768ef1a2c810d4d298b36707c" args="(std::ostream &amp;_os) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRP::printOn </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&nbsp;</td>
<td class="paramname"> <em>_os</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Prints the individual to a given stream.
<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>_os</em>&nbsp;</td><td>The stream to print to. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#b678a3e3aafae2df1f05c07d24379e5c">eoVector&lt; eoMinimizingFitness, int &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00129">129</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#b678a3e3aafae2df1f05c07d24379e5c">eoVector&lt; FitT, GeneType &gt;::printOn()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_8h-source.html#l00334">decode()</a>.
</div>
</div><p>
<a class="anchor" name="738f0aa43d8608cc68e41b1d3f8c944d"></a><!-- doxytag: member="eoVRP::printAllOn" ref="738f0aa43d8608cc68e41b1d3f8c944d" args="(std::ostream &amp;_os) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRP::printAllOn </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&nbsp;</td>
<td class="paramname"> <em>_os</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Prints a detailed version of the individual (decoding information, unsatisfied contraints, etc.
<p>
) to a given stream. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_os</em>&nbsp;</td><td>The stream to print to. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00146">146</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00298">decoded()</a>, <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#57d5610c9296eb927816a2f06bd00a08">EO&lt; F &gt;::fitness()</a>, <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#b678a3e3aafae2df1f05c07d24379e5c">eoVector&lt; FitT, GeneType &gt;::printOn()</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00217">printRoutes()</a>.
</div>
</div><p>
<a class="anchor" name="fdb87ffaf7ac95988e8896bb896183cc"></a><!-- doxytag: member="eoVRP::readFrom" ref="fdb87ffaf7ac95988e8896bb896183cc" args="(std::istream &amp;_is)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRP::readFrom </td>
<td>(</td>
<td class="paramtype">std::istream &amp;&nbsp;</td>
<td class="paramname"> <em>_is</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reads an individual from a given stream.
<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>_is</em>&nbsp;</td><td>The stream to read from. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#cccb8de6742e46b976a2de7356fd86d3">eoVector&lt; eoMinimizingFitness, int &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00177">177</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_vector.html#cccb8de6742e46b976a2de7356fd86d3">eoVector&lt; FitT, GeneType &gt;::readFrom()</a>.
</div>
</div><p>
<a class="anchor" name="0e000044813b4ebdd822e7e2f8540d8b"></a><!-- doxytag: member="eoVRP::routes" ref="0e000044813b4ebdd822e7e2f8540d8b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const Routes&amp; eoVRP::routes </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a reference to the decoded individual.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the decoded individual. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00190">190</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00085">eoVRPGenericCrossover::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="e4d189ca6349a875ae8d6fd9c7fe2491"></a><!-- doxytag: member="eoVRP::length" ref="e4d189ca6349a875ae8d6fd9c7fe2491" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double eoVRP::length </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the total cost (length) of traveling all the routes.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The total cost (length) of traveling all the routes. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00205">205</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00451">mLength</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_eval_func_8h-source.html#l00072">eoVRPEvalFunc::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="2a4c249cc6b15819c48c9210db385dc7"></a><!-- doxytag: member="eoVRP::printRoutes" ref="2a4c249cc6b15819c48c9210db385dc7" args="(std::ostream &amp;_os) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRP::printRoutes </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&nbsp;</td>
<td class="paramname"> <em>_os</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Aux.
<p>
method to print a structure of routes. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_os</em>&nbsp;</td><td>The stream to print to. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00217">217</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00244">printRoute()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_8h-source.html#l00146">printAllOn()</a>.
</div>
</div><p>
<a class="anchor" name="ec256ed5b3b15b6d220494015e2aba93"></a><!-- doxytag: member="eoVRP::printRoute" ref="ec256ed5b3b15b6d220494015e2aba93" args="(std::ostream &amp;_os, unsigned _p) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRP::printRoute </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&nbsp;</td>
<td class="paramname"> <em>_os</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_p</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Aux.
<p>
method to print only one route. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_os</em>&nbsp;</td><td>The stream to print to. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_p</em>&nbsp;</td><td>The route to print. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00244">244</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_8h-source.html#l00217">printRoutes()</a>.
</div>
</div><p>
<a class="anchor" name="1c53a7a42174c7d40db92da644b25fec"></a><!-- doxytag: member="eoVRP::clean" ref="1c53a7a42174c7d40db92da644b25fec" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRP::clean </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cleans the individual (the vector of clients and also the decoding information).
<p>
<dl compact><dt><b>Returns:</b></dt><dd>True if the operation finishes correctly. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00267">267</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00451">mLength</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_8h-source.html#l00313">encode()</a>, <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00272">eoVRPEdgeCrossover::operator()()</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00090">operator=()</a>.
</div>
</div><p>
<a class="anchor" name="66fb699c1d34cac859406ad450be406a"></a><!-- doxytag: member="eoVRP::cleanRoutes" ref="66fb699c1d34cac859406ad450be406a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRP::cleanRoutes </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalidates the decoding information (usually after crossover or mutation).
<p>
<dl compact><dt><b>Returns:</b></dt><dd>True if the operation finishes correctly. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00283">283</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00451">mLength</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_8h-source.html#l00334">decode()</a>, <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00191">eoVRPOnePointCrossover::operator()()</a>, and <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00086">eoVRPMutation::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="e188fadc91b4ee256e144ac86ee80a40"></a><!-- doxytag: member="eoVRP::decoded" ref="e188fadc91b4ee256e144ac86ee80a40" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRP::decoded </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Has this individual been decoded?
<p>
<dl compact><dt><b>Returns:</b></dt><dd>True if has decoding information. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00298">298</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_eval_func_8h-source.html#l00072">eoVRPEvalFunc::operator()()</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00146">printAllOn()</a>.
</div>
</div><p>
<a class="anchor" name="b56c820bff344b4cd7338628a6f8f083"></a><!-- doxytag: member="eoVRP::encode" ref="b56c820bff344b4cd7338628a6f8f083" args="(Routes &amp;_routes)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRP::encode </td>
<td>(</td>
<td class="paramtype">Routes &amp;&nbsp;</td>
<td class="paramname"> <em>_routes</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Encodes an individual from a set of routes (usually used within crossover).
<p>
<dl compact><dt><b>Returns:</b></dt><dd>True if the operation finishes correctly. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00313">313</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00267">clean()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00085">eoVRPGenericCrossover::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="fdfd2633515baa85c3fdaf39be6dea5c"></a><!-- doxytag: member="eoVRP::decode" ref="fdfd2633515baa85c3fdaf39be6dea5c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double eoVRP::decode </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Decodes an individual in a set of routes and calculates its cost (length) of traveling.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The cost (length) of traveling the set of routes. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_8h-source.html#l00334">334</a> of file <a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00283">cleanRoutes()</a>, <a class="el" href="eo_v_r_p_utils_8h-source.html#l00099">eoVRPUtils::clients</a>, <a class="el" href="eo_v_r_p_utils_8h-source.html#l00157">eoVRPUtils::distance()</a>, <a class="el" href="eo_v_r_p_utils_8h-source.html#l00139">eoVRPUtils::getTimeWindow()</a>, <a class="el" href="eo_v_r_p_8h-source.html#l00451">mLength</a>, <a class="el" href="eo_v_r_p_8h-source.html#l00450">mRoutes</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00129">printOn()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_eval_func_8h-source.html#l00072">eoVRPEvalFunc::operator()()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_v_r_p_8h-source.html">eoVRP.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,52 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRPEdgeCrossover Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_edge_crossover.html#7917ea1dec6221f71127c6fae9515e68">add_vertex</a>(unsigned _vertex, std::vector&lt; bool &gt; &amp;_visited, std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;_map, eoVRP &amp;_child)</td><td><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_edge_crossover.html#8b2a199b70442852f93b2a34a42cf1e4">className</a>() const </td><td><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_edge_crossover.html#389bd29cab9e12915d0d5c4af80343d7">EdgeCrossover</a>(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2, eoVRP &amp;_child)</td><td><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#5b9ae9bfcd36ab9cfbc2940039190bdc">eoOp</a>(OpType _type)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#66db208d9e3c9f7920aafa198af07e79">eoOp</a>(const eoOp &amp;_eop)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html#62fbc856096e060fbbed39340a8b4f45">eoQuadOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html">eoQuadOp&lt; eoVRP &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_edge_crossover.html#1cec73fc43837a61b6c97812dd57891b">eoVRPEdgeCrossover</a>()</td><td><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><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#fc64069be06fa835846ab2a7114c5374">functor_category</a>()</td><td><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">eoBF&lt; eoVRP &amp;, eoVRP &amp;, bool &gt;</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#f58534db7113ec9919ecdb69b661eb60">getType</a>() const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_edge_crossover.html#518856969ec708a73e728d36ddf01d1b">operator()</a>(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2)</td><td><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#04aa988c26acbc7e41e96cae0bd415cc">OpType</a> enum name</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_edge_crossover.html#df9886f80565a966c78fb5a08e12631f">remove_entry</a>(unsigned _vertex, std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;_map)</td><td><a class="el" href="classeo_v_r_p_edge_crossover.html">eoVRPEdgeCrossover</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><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#adc459db710dea2a91c47f8b6863b96c">~eoBF</a>()</td><td><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">eoBF&lt; eoVRP &amp;, eoVRP &amp;, bool &gt;</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html#8c8feaced1598f8445a94c22d69dbd31">~eoFunctorBase</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html">eoFunctorBase</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#4d42fee3eb192bc52b184cd098f91850">~eoOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td><code> [virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

View file

@ -0,0 +1,301 @@
<!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>CVRP-TW: eoVRPEdgeCrossover 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><a href="namespaces.html"><span>Namespaces</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>eoVRPEdgeCrossover Class Reference</h1><!-- doxytag: class="eoVRPEdgeCrossover" --><!-- doxytag: inherits="eoQuadOp&lt; eoVRP &gt;" -->Implementation of the classic Edge Crossover from the TSP.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoVRPEdgeCrossover:
<p><center><img src="classeo_v_r_p_edge_crossover.png" usemap="#eoVRPEdgeCrossover_map" border="0" alt=""></center>
<map name="eoVRPEdgeCrossover_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< eoVRP >" shape="rect" coords="112,112,326,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,214,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< eoVRP &, eoVRP &, bool >" shape="rect" coords="224,56,438,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="224,0,438,24">
</map>
<a href="classeo_v_r_p_edge_crossover-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="1cec73fc43837a61b6c97812dd57891b"></a><!-- doxytag: member="eoVRPEdgeCrossover::eoVRPEdgeCrossover" ref="1cec73fc43837a61b6c97812dd57891b" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_edge_crossover.html#1cec73fc43837a61b6c97812dd57891b">eoVRPEdgeCrossover</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deafult constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_edge_crossover.html#8b2a199b70442852f93b2a34a42cf1e4">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a string containing the name of the class. <a href="#8b2a199b70442852f93b2a34a42cf1e4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_edge_crossover.html#518856969ec708a73e728d36ddf01d1b">operator()</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype1, <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Both parameters are the parents and the (future) children of the crossover. <a href="#518856969ec708a73e728d36ddf01d1b"></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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_edge_crossover.html#389bd29cab9e12915d0d5c4af80343d7">EdgeCrossover</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype1, <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype2, <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_child)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Actually performs the edge crossover. <a href="#389bd29cab9e12915d0d5c4af80343d7"></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="classeo_v_r_p_edge_crossover.html#df9886f80565a966c78fb5a08e12631f">remove_entry</a> (unsigned _vertex, std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;_map)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a vertex from all his neighbours. <a href="#df9886f80565a966c78fb5a08e12631f"></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="classeo_v_r_p_edge_crossover.html#7917ea1dec6221f71127c6fae9515e68">add_vertex</a> (unsigned _vertex, std::vector&lt; bool &gt; &amp;_visited, std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;_map, <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_child)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a vertex to a child and erases it from the list of available vertices. <a href="#7917ea1dec6221f71127c6fae9515e68"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of the classic Edge Crossover from the TSP.
<p>
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00240">240</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8b2a199b70442852f93b2a34a42cf1e4"></a><!-- doxytag: member="eoVRPEdgeCrossover::className" ref="8b2a199b70442852f93b2a34a42cf1e4" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string eoVRPEdgeCrossover::className </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a string containing the name of the class.
<p>
Used to display statistics. <dl compact><dt><b>Returns:</b></dt><dd>The string containing the name of the class. </dd></dl>
<p>
Reimplemented from <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html#f36f97dc1f4bfef47af1c1ea48cfdad2">eoQuadOp&lt; eoVRP &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00258">258</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
</div>
</div><p>
<a class="anchor" name="518856969ec708a73e728d36ddf01d1b"></a><!-- doxytag: member="eoVRPEdgeCrossover::operator()" ref="518856969ec708a73e728d36ddf01d1b" args="(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPEdgeCrossover::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype2</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Both parameters are the parents and the (future) children of the 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>_genotype1</em>&nbsp;</td><td>The first parent. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_genotype2</em>&nbsp;</td><td>The second parent. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if any of the parents was modified. False otherwise. </dd></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; eoVRP &amp;, eoVRP &amp;, bool &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00272">272</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00267">eoVRP::clean()</a>, and <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00301">EdgeCrossover()</a>.
</div>
</div><p>
<a class="anchor" name="389bd29cab9e12915d0d5c4af80343d7"></a><!-- doxytag: member="eoVRPEdgeCrossover::EdgeCrossover" ref="389bd29cab9e12915d0d5c4af80343d7" args="(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2, eoVRP &amp;_child)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPEdgeCrossover::EdgeCrossover </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_child</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Actually performs the edge 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>_genotype1</em>&nbsp;</td><td>First parent. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_genotype2</em>&nbsp;</td><td>Second parent. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_child</em>&nbsp;</td><td>Child. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the second parent was modified. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00301">301</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
<p>
References <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00398">add_vertex()</a>, and <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>.
<p>
Referenced by <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00272">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="df9886f80565a966c78fb5a08e12631f"></a><!-- doxytag: member="eoVRPEdgeCrossover::remove_entry" ref="df9886f80565a966c78fb5a08e12631f" args="(unsigned _vertex, std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;_map)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRPEdgeCrossover::remove_entry </td>
<td>(</td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_vertex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_map</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Removes a vertex from all his neighbours.
<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>_vertex</em>&nbsp;</td><td>The vertex being erased. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_map</em>&nbsp;</td><td>The structure containing the neighbourhood relationship. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00380">380</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00398">add_vertex()</a>.
</div>
</div><p>
<a class="anchor" name="7917ea1dec6221f71127c6fae9515e68"></a><!-- doxytag: member="eoVRPEdgeCrossover::add_vertex" ref="7917ea1dec6221f71127c6fae9515e68" args="(unsigned _vertex, std::vector&lt; bool &gt; &amp;_visited, std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;_map, eoVRP &amp;_child)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRPEdgeCrossover::add_vertex </td>
<td>(</td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_vertex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; bool &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_visited</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; std::set&lt; unsigned &gt; &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_map</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_child</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a vertex to a child and erases it from the list of available vertices.
<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>_vertex</em>&nbsp;</td><td>The vertex being added to the child. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_visited</em>&nbsp;</td><td>The vector of visited vertices. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_map</em>&nbsp;</td><td>The structure containing the neighbourhood relationship. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_child</em>&nbsp;</td><td>The child where we add the vertex. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00398">398</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
<p>
References <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00380">remove_entry()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00301">EdgeCrossover()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,45 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRPEvalFunc Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p_eval_func.html">eoVRPEvalFunc</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_eval_func.html#5f5b8425b18dc822fe07233d1ad080cb">EOFitT</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_eval_func.html">eoEvalFunc&lt; eoVRP &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_eval_func.html#5a93ff2efd034f363aa5da789c081ee8">EOType</a> typedef</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_eval_func.html">eoEvalFunc&lt; eoVRP &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_eval_func.html#9746622fd0ae11ae58261b0711b7918c">eoVRPEvalFunc</a>()</td><td><a class="el" href="classeo_v_r_p_eval_func.html">eoVRPEvalFunc</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#cbcdc56d1ffcab42c6dbd8b449b5f4c8">functor_category</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; A1, R &gt;</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_eval_func.html#840c1a7d38dbdeb40e283df3be42aa48">operator()</a>(eoVRP &amp;_eo)</td><td><a class="el" href="classeo_v_r_p_eval_func.html">eoVRPEvalFunc</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#786e028409366dc273e19104f17ba68a">eoEvalFunc&lt; eoVRP &gt;::operator()</a>(A1)=0</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; A1, R &gt;</a></td><td><code> [pure virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html#8c8feaced1598f8445a94c22d69dbd31">~eoFunctorBase</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html">eoFunctorBase</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#ed542967512c7a8f2ba6472a0c5c128d">~eoUF</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; A1, R &gt;</a></td><td><code> [virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

View file

@ -0,0 +1,98 @@
<!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>CVRP-TW: eoVRPEvalFunc 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><a href="namespaces.html"><span>Namespaces</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>eoVRPEvalFunc Class Reference</h1><!-- doxytag: class="eoVRPEvalFunc" --><!-- doxytag: inherits="eoEvalFunc&lt; eoVRP &gt;" -->Evaluates an individual of type <a class="el" href="classeo_v_r_p.html">eoVRP</a>.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_v_r_p_eval_func_8h-source.html">eoVRPEvalFunc.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoVRPEvalFunc:
<p><center><img src="classeo_v_r_p_eval_func.png" usemap="#eoVRPEvalFunc_map" border="0" alt=""></center>
<map name="eoVRPEvalFunc_map">
<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< eoVRP >" shape="rect" coords="0,112,143,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,143,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,143,24">
</map>
<a href="classeo_v_r_p_eval_func-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="9746622fd0ae11ae58261b0711b7918c"></a><!-- doxytag: member="eoVRPEvalFunc::eoVRPEvalFunc" ref="9746622fd0ae11ae58261b0711b7918c" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_eval_func.html#9746622fd0ae11ae58261b0711b7918c">eoVRPEvalFunc</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor: nothing to do here. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_eval_func.html#840c1a7d38dbdeb40e283df3be42aa48">operator()</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_eo)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Computes the (penalized) fitness. <a href="#840c1a7d38dbdeb40e283df3be42aa48"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Evaluates an individual of type <a class="el" href="classeo_v_r_p.html">eoVRP</a>.
<p>
<p>
Definition at line <a class="el" href="eo_v_r_p_eval_func_8h-source.html#l00054">54</a> of file <a class="el" href="eo_v_r_p_eval_func_8h-source.html">eoVRPEvalFunc.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="840c1a7d38dbdeb40e283df3be42aa48"></a><!-- doxytag: member="eoVRPEvalFunc::operator()" ref="840c1a7d38dbdeb40e283df3be42aa48" args="(eoVRP &amp;_eo)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRPEvalFunc::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_eo</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Computes the (penalized) fitness.
<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>_eo</em>&nbsp;</td><td>The individual to be evaluated. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_eval_func_8h-source.html#l00072">72</a> of file <a class="el" href="eo_v_r_p_eval_func_8h-source.html">eoVRPEvalFunc.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00334">eoVRP::decode()</a>, <a class="el" href="eo_v_r_p_8h-source.html#l00298">eoVRP::decoded()</a>, <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#57d5610c9296eb927816a2f06bd00a08">EO&lt; F &gt;::fitness()</a>, <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#8a9b70e171f3d4a65421f864f8402543">EO&lt; F &gt;::invalid()</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00205">eoVRP::length()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_v_r_p_eval_func_8h-source.html">eoVRPEvalFunc.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

View file

@ -0,0 +1,50 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRPGenericCrossover Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p_generic_crossover.html">eoVRPGenericCrossover</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_generic_crossover.html#7740db73b7151dab52df9d50f5366429">className</a>() const </td><td><a class="el" href="classeo_v_r_p_generic_crossover.html">eoVRPGenericCrossover</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#5b9ae9bfcd36ab9cfbc2940039190bdc">eoOp</a>(OpType _type)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#66db208d9e3c9f7920aafa198af07e79">eoOp</a>(const eoOp &amp;_eop)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html#62fbc856096e060fbbed39340a8b4f45">eoQuadOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html">eoQuadOp&lt; eoVRP &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_generic_crossover.html#63e5fb734c46be62a12f6799e34cebe4">eoVRPGenericCrossover</a>()</td><td><a class="el" href="classeo_v_r_p_generic_crossover.html">eoVRPGenericCrossover</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><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#fc64069be06fa835846ab2a7114c5374">functor_category</a>()</td><td><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">eoBF&lt; eoVRP &amp;, eoVRP &amp;, bool &gt;</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_generic_crossover.html#543ba6869b93a3f9f709045b7e24d74a">GenericCrossover</a>(const Routes &amp;_donor, Routes &amp;_receiver) const </td><td><a class="el" href="classeo_v_r_p_generic_crossover.html">eoVRPGenericCrossover</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#f58534db7113ec9919ecdb69b661eb60">getType</a>() const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_generic_crossover.html#d7d3b19562b071bd50dd4d831e447d0c">operator()</a>(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2)</td><td><a class="el" href="classeo_v_r_p_generic_crossover.html">eoVRPGenericCrossover</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#04aa988c26acbc7e41e96cae0bd415cc">OpType</a> enum name</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><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#adc459db710dea2a91c47f8b6863b96c">~eoBF</a>()</td><td><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">eoBF&lt; eoVRP &amp;, eoVRP &amp;, bool &gt;</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html#8c8feaced1598f8445a94c22d69dbd31">~eoFunctorBase</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html">eoFunctorBase</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#4d42fee3eb192bc52b184cd098f91850">~eoOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td><code> [virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

View file

@ -0,0 +1,190 @@
<!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>CVRP-TW: eoVRPGenericCrossover 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><a href="namespaces.html"><span>Namespaces</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>eoVRPGenericCrossover Class Reference</h1><!-- doxytag: class="eoVRPGenericCrossover" --><!-- doxytag: inherits="eoQuadOp&lt; eoVRP &gt;" -->Implementation of the generic crossover for the VRP-TW by Tavares et al.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoVRPGenericCrossover:
<p><center><img src="classeo_v_r_p_generic_crossover.png" usemap="#eoVRPGenericCrossover_map" border="0" alt=""></center>
<map name="eoVRPGenericCrossover_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< eoVRP >" shape="rect" coords="112,112,326,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,214,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< eoVRP &, eoVRP &, bool >" shape="rect" coords="224,56,438,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="224,0,438,24">
</map>
<a href="classeo_v_r_p_generic_crossover-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="63e5fb734c46be62a12f6799e34cebe4"></a><!-- doxytag: member="eoVRPGenericCrossover::eoVRPGenericCrossover" ref="63e5fb734c46be62a12f6799e34cebe4" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_generic_crossover.html#63e5fb734c46be62a12f6799e34cebe4">eoVRPGenericCrossover</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deafult constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_generic_crossover.html#7740db73b7151dab52df9d50f5366429">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a string containing the name of the class. <a href="#7740db73b7151dab52df9d50f5366429"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_generic_crossover.html#d7d3b19562b071bd50dd4d831e447d0c">operator()</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype1, <a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Both parameters are the parents and the (future) children of the crossover. <a href="#d7d3b19562b071bd50dd4d831e447d0c"></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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_generic_crossover.html#543ba6869b93a3f9f709045b7e24d74a">GenericCrossover</a> (const Routes &amp;_donor, Routes &amp;_receiver) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Actually performs the generic crossover. <a href="#543ba6869b93a3f9f709045b7e24d74a"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of the generic crossover for the VRP-TW by Tavares et al.
<p>
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00053">53</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7740db73b7151dab52df9d50f5366429"></a><!-- doxytag: member="eoVRPGenericCrossover::className" ref="7740db73b7151dab52df9d50f5366429" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string eoVRPGenericCrossover::className </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a string containing the name of the class.
<p>
Used to display statistics. <dl compact><dt><b>Returns:</b></dt><dd>The string containing the name of the class. </dd></dl>
<p>
Reimplemented from <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html#f36f97dc1f4bfef47af1c1ea48cfdad2">eoQuadOp&lt; eoVRP &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00071">71</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
</div>
</div><p>
<a class="anchor" name="d7d3b19562b071bd50dd4d831e447d0c"></a><!-- doxytag: member="eoVRPGenericCrossover::operator()" ref="d7d3b19562b071bd50dd4d831e447d0c" args="(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPGenericCrossover::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype2</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Both parameters are the parents and the (future) children of the 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>_genotype1</em>&nbsp;</td><td>The first parent. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_genotype2</em>&nbsp;</td><td>The second parent. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if any of the parents was modified. False otherwise. </dd></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; eoVRP &amp;, eoVRP &amp;, bool &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00085">85</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00313">eoVRP::encode()</a>, <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00110">GenericCrossover()</a>, and <a class="el" href="eo_v_r_p_8h-source.html#l00190">eoVRP::routes()</a>.
</div>
</div><p>
<a class="anchor" name="543ba6869b93a3f9f709045b7e24d74a"></a><!-- doxytag: member="eoVRPGenericCrossover::GenericCrossover" ref="543ba6869b93a3f9f709045b7e24d74a" args="(const Routes &amp;_donor, Routes &amp;_receiver) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPGenericCrossover::GenericCrossover </td>
<td>(</td>
<td class="paramtype">const Routes &amp;&nbsp;</td>
<td class="paramname"> <em>_donor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Routes &amp;&nbsp;</td>
<td class="paramname"> <em>_receiver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Actually performs the generic 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>_donor</em>&nbsp;</td><td>Set of routes from the first parent. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_receiver</em>&nbsp;</td><td>Set of routes from the second parent </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the second parent was modified. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00110">110</a> of file <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a>.
<p>
References <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>.
<p>
Referenced by <a class="el" href="eo_v_r_p_quad_crossover_8h-source.html#l00085">operator()()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_v_r_p_quad_crossover_8h-source.html">eoVRPQuadCrossover.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:19 2007 for CVRP-TW 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,54 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRPInit Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_init.html#93086216ea786dea70f71102614f9884">className</a>(void) const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_init.html">eoInit&lt; eoVRP &gt;</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#ff7c0bf38bdd70d6f9d561479ec4f48a">createNewRoute</a>(std::vector&lt; int &gt; &amp;_unvisited, int &amp;_unvisitedIdx, bool _seedCheckingOverride, Route &amp;_route)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#a620d4fa1b930b1fd8b491f1ef5c72fd">eoVRPInit</a>()</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#82f2bb762d8f5da85febd266fb75a29b">evaluateInsertion</a>(Route &amp;_route, unsigned _newClient, int _afterClient, double &amp;_cost)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#cbcdc56d1ffcab42c6dbd8b449b5f4c8">functor_category</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; A1, R &gt;</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#af5946da88fb14494cb23dc21d167866">HeuristicInitialization</a>(eoVRP &amp;_gen)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#5e940cc7eec88f268e8eb72313212947">mSeedsUsed</a></td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#b74e164ca817fe5615e9519ec671a356">mSeedsUsedCount</a></td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#8bc4f6fb201b09dd882d721d2cfef8ce">operator()</a>(eoVRP &amp;_gen)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#786e028409366dc273e19104f17ba68a">eoInit&lt; eoVRP &gt;::operator()</a>(A1)=0</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; A1, R &gt;</a></td><td><code> [pure virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#008ae39692b67ef0b25aed89075b1d46">RandomInitializationNoCheck</a>(eoVRP &amp;_gen)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#dd681a23869f69438120ee2d82f85e94">selectBestClientAsSeed</a>(const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx, bool _seedCheckingOverride)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#7f07be1f3a027dc56af84bb46828ddda">selectBestInsertion</a>(std::vector&lt; int &gt; &amp;_unvisited, unsigned _unvisitedIdx, Route &amp;_route, unsigned &amp;_nextClient, Route::iterator &amp;_it)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#0bb48de33e92c2b6a386e28d5b759f4b">selectCheapestClient</a>(const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx, bool _seedCheckingOverride)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_init.html#a24867d25a6c9911e9b5c9eb1b4b650d">selectFarthestClientAsSeed</a>(const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx)</td><td><a class="el" href="classeo_v_r_p_init.html">eoVRPInit</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html#8c8feaced1598f8445a94c22d69dbd31">~eoFunctorBase</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html">eoFunctorBase</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#ed542967512c7a8f2ba6472a0c5c128d">~eoUF</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; A1, R &gt;</a></td><td><code> [virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:20 2007 for CVRP-TW 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>

View file

@ -0,0 +1,521 @@
<!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>CVRP-TW: eoVRPInit 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><a href="namespaces.html"><span>Namespaces</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>eoVRPInit Class Reference</h1><!-- doxytag: class="eoVRPInit" --><!-- doxytag: inherits="eoInit&lt; eoVRP &gt;" -->Class defining the initializer functor.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoVRPInit:
<p><center><img src="classeo_v_r_p_init.png" usemap="#eoVRPInit_map" border="0" alt=""></center>
<map name="eoVRPInit_map">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_init.html" alt="eoInit< eoVRP >" shape="rect" coords="0,112,105,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,105,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,105,24">
</map>
<a href="classeo_v_r_p_init-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="a620d4fa1b930b1fd8b491f1ef5c72fd"></a><!-- doxytag: member="eoVRPInit::eoVRPInit" ref="a620d4fa1b930b1fd8b491f1ef5c72fd" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#a620d4fa1b930b1fd8b491f1ef5c72fd">eoVRPInit</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor: nothing to do here. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#8bc4f6fb201b09dd882d721d2cfef8ce">operator()</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_gen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Functor member. <a href="#8bc4f6fb201b09dd882d721d2cfef8ce"></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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#af5946da88fb14494cb23dc21d167866">HeuristicInitialization</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_gen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Heuristic initializer. <a href="#af5946da88fb14494cb23dc21d167866"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#ff7c0bf38bdd70d6f9d561479ec4f48a">createNewRoute</a> (std::vector&lt; int &gt; &amp;_unvisited, int &amp;_unvisitedIdx, bool _seedCheckingOverride, Route &amp;_route)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new route. <a href="#ff7c0bf38bdd70d6f9d561479ec4f48a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#7f07be1f3a027dc56af84bb46828ddda">selectBestInsertion</a> (std::vector&lt; int &gt; &amp;_unvisited, unsigned _unvisitedIdx, Route &amp;_route, unsigned &amp;_nextClient, Route::iterator &amp;_it)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Selects the best client and the best position for its insertion in a given route. <a href="#7f07be1f3a027dc56af84bb46828ddda"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#82f2bb762d8f5da85febd266fb75a29b">evaluateInsertion</a> (Route &amp;_route, unsigned _newClient, int _afterClient, double &amp;_cost)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates the feasibility and the cost of inserting a new client in a given subroute. <a href="#82f2bb762d8f5da85febd266fb75a29b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#a24867d25a6c9911e9b5c9eb1b4b650d">selectFarthestClientAsSeed</a> (const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Selects the farthest client as seed for a new route. <a href="#a24867d25a6c9911e9b5c9eb1b4b650d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#0bb48de33e92c2b6a386e28d5b759f4b">selectCheapestClient</a> (const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx, bool _seedCheckingOverride)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Selects the cheapest client as seed for a new route. <a href="#0bb48de33e92c2b6a386e28d5b759f4b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#dd681a23869f69438120ee2d82f85e94">selectBestClientAsSeed</a> (const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx, bool _seedCheckingOverride)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Selects the best (the "hardest" one) client as seed for a new route. <a href="#dd681a23869f69438120ee2d82f85e94"></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="classeo_v_r_p_init.html#008ae39692b67ef0b25aed89075b1d46">RandomInitializationNoCheck</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_gen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random initializer. <a href="#008ae39692b67ef0b25aed89075b1d46"></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="b74e164ca817fe5615e9519ec671a356"></a><!-- doxytag: member="eoVRPInit::mSeedsUsedCount" ref="b74e164ca817fe5615e9519ec671a356" args="" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#b74e164ca817fe5615e9519ec671a356">mSeedsUsedCount</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of clients already used as seeds. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e940cc7eec88f268e8eb72313212947"></a><!-- doxytag: member="eoVRPInit::mSeedsUsed" ref="5e940cc7eec88f268e8eb72313212947" args="" -->
std::vector&lt; bool &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_init.html#5e940cc7eec88f268e8eb72313212947">mSeedsUsed</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vector storing if a client has been used as a seed or not. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class defining the initializer functor.
<p>
This class initializes an individual of the VRP problem using an heuristic initializer.
<p>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00065">65</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8bc4f6fb201b09dd882d721d2cfef8ce"></a><!-- doxytag: member="eoVRPInit::operator()" ref="8bc4f6fb201b09dd882d721d2cfef8ce" args="(eoVRP &amp;_gen)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRPInit::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_gen</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Functor member.
<p>
Initializes a genotype using an heuristic initializer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_gen</em>&nbsp;</td><td>Generally a genotype that has been default-constructed. Whatever it contains will be lost. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00099">99</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_init_8h-source.html#l00123">HeuristicInitialization()</a>.
</div>
</div><p>
<a class="anchor" name="af5946da88fb14494cb23dc21d167866"></a><!-- doxytag: member="eoVRPInit::HeuristicInitialization" ref="af5946da88fb14494cb23dc21d167866" args="(eoVRP &amp;_gen)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRPInit::HeuristicInitialization </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_gen</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Heuristic initializer.
<p>
This initializer constructs and individual from routes. Each route is built in a constructive way. The first client of each route is selected trying to maximize a function depending on its time window and how far it is from the depot. We always try to select the hardest clients as seeds. Used seeds are stored so that different seeds are selected for different individuals and thus guarantee the diversity of the initial population. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_gen</em>&nbsp;</td><td>The individual to be initialized. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00123">123</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_utils_8h-source.html#l00099">eoVRPUtils::clients</a>, <a class="el" href="eo_v_r_p_init_8h-source.html#l00176">createNewRoute()</a>, and <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/class_e_o.html#f57e9b0b1772446b12f97abfc0d64a59">EO&lt; F &gt;::invalidate()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_init_8h-source.html#l00099">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="ff7c0bf38bdd70d6f9d561479ec4f48a"></a><!-- doxytag: member="eoVRPInit::createNewRoute" ref="ff7c0bf38bdd70d6f9d561479ec4f48a" args="(std::vector&lt; int &gt; &amp;_unvisited, int &amp;_unvisitedIdx, bool _seedCheckingOverride, Route &amp;_route)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPInit::createNewRoute </td>
<td>(</td>
<td class="paramtype">std::vector&lt; int &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_unvisited</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int &amp;&nbsp;</td>
<td class="paramname"> <em>_unvisitedIdx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>_seedCheckingOverride</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Route &amp;&nbsp;</td>
<td class="paramname"> <em>_route</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a new route.
<p>
Creates a new route selecting the best (hardest) client as seed and then adding the cheapest clients until one of the constraints (time window or vehicle's capacity) is broken. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_unvisited</em>&nbsp;</td><td>Vector of unvisited and thus available clients for constructing the new route. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_unvisitedIdx</em>&nbsp;</td><td>Position of the last univisted client in _unvisited vector. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_seedCheckingOverride</em>&nbsp;</td><td>If true, it overrides the seed checking mecanism. It must be always false for the first route and then true for the following ones. This way we will preserve diversity in our initial population as every individual will be initialized from a different initial route. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_route</em>&nbsp;</td><td>The brand new route we have constructed. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if everything went ok. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00176">176</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_init_8h-source.html#l00109">mSeedsUsed</a>, <a class="el" href="eo_v_r_p_init_8h-source.html#l00108">mSeedsUsedCount</a>, <a class="el" href="eo_v_r_p_init_8h-source.html#l00532">selectBestClientAsSeed()</a>, and <a class="el" href="eo_v_r_p_init_8h-source.html#l00249">selectBestInsertion()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_init_8h-source.html#l00123">HeuristicInitialization()</a>.
</div>
</div><p>
<a class="anchor" name="7f07be1f3a027dc56af84bb46828ddda"></a><!-- doxytag: member="eoVRPInit::selectBestInsertion" ref="7f07be1f3a027dc56af84bb46828ddda" args="(std::vector&lt; int &gt; &amp;_unvisited, unsigned _unvisitedIdx, Route &amp;_route, unsigned &amp;_nextClient, Route::iterator &amp;_it)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPInit::selectBestInsertion </td>
<td>(</td>
<td class="paramtype">std::vector&lt; int &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_unvisited</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_unvisitedIdx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Route &amp;&nbsp;</td>
<td class="paramname"> <em>_route</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned &amp;&nbsp;</td>
<td class="paramname"> <em>_nextClient</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Route::iterator &amp;&nbsp;</td>
<td class="paramname"> <em>_it</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Selects the best client and the best position for its insertion in a given route.
<p>
Given a subroute, this method tries to find the best client and the best position for it among all the univisited clients. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_unvisited</em>&nbsp;</td><td>Vector of unvisited and thus available clients for constructing the new route. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_unvisitedIdx</em>&nbsp;</td><td>Position of the last univisted client in _unvisited vector. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_route</em>&nbsp;</td><td>The route where we are trying to insert a new client. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_nextClient</em>&nbsp;</td><td>A return value. The selected client to be inserted. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_it</em>&nbsp;</td><td>A return value. The position for selected client to be inserted. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if a new insertion is possible. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00249">249</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_init_8h-source.html#l00308">evaluateInsertion()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_init_8h-source.html#l00176">createNewRoute()</a>.
</div>
</div><p>
<a class="anchor" name="82f2bb762d8f5da85febd266fb75a29b"></a><!-- doxytag: member="eoVRPInit::evaluateInsertion" ref="82f2bb762d8f5da85febd266fb75a29b" args="(Route &amp;_route, unsigned _newClient, int _afterClient, double &amp;_cost)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPInit::evaluateInsertion </td>
<td>(</td>
<td class="paramtype">Route &amp;&nbsp;</td>
<td class="paramname"> <em>_route</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_newClient</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>_afterClient</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double &amp;&nbsp;</td>
<td class="paramname"> <em>_cost</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Evaluates the feasibility and the cost of inserting a new client in a given subroute.
<p>
Given a subroute, this method tries evaluates if it is possible to insert a client in a position. It will return the cost of the resulting route if this insertion is possible. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_route</em>&nbsp;</td><td>The route where we are trying to insert a new client. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_newClient</em>&nbsp;</td><td>The client we are trying to insert. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_afterClient</em>&nbsp;</td><td>The position of insertion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_cost</em>&nbsp;</td><td>A return value. The cost of inserting the given client at the given position. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the new insertion is possible. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00308">308</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_utils_8h-source.html#l00099">eoVRPUtils::clients</a>, <a class="el" href="eo_v_r_p_utils_8h-source.html#l00157">eoVRPUtils::distance()</a>, and <a class="el" href="eo_v_r_p_utils_8h-source.html#l00139">eoVRPUtils::getTimeWindow()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_init_8h-source.html#l00249">selectBestInsertion()</a>.
</div>
</div><p>
<a class="anchor" name="a24867d25a6c9911e9b5c9eb1b4b650d"></a><!-- doxytag: member="eoVRPInit::selectFarthestClientAsSeed" ref="a24867d25a6c9911e9b5c9eb1b4b650d" args="(const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned eoVRPInit::selectFarthestClientAsSeed </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; int &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_unvisited</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>_unvisitedIdx</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Selects the farthest client as seed for a new route.
<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>_unvisited</em>&nbsp;</td><td>Vector of unvisited and thus available clients for constructing the new route. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_unvisitedIdx</em>&nbsp;</td><td>Position of the last univisted client in _unvisited vector. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The position of the client farthest from the depot. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00472">472</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_utils_8h-source.html#l00157">eoVRPUtils::distance()</a>.
</div>
</div><p>
<a class="anchor" name="0bb48de33e92c2b6a386e28d5b759f4b"></a><!-- doxytag: member="eoVRPInit::selectCheapestClient" ref="0bb48de33e92c2b6a386e28d5b759f4b" args="(const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx, bool _seedCheckingOverride)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned eoVRPInit::selectCheapestClient </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; int &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_unvisited</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>_unvisitedIdx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>_seedCheckingOverride</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Selects the cheapest client as seed for a new route.
<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>_unvisited</em>&nbsp;</td><td>Vector of unvisited and thus available clients for constructing the new route. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_unvisitedIdx</em>&nbsp;</td><td>Position of the last univisted client in _unvisited vector. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_seedCheckingOverride</em>&nbsp;</td><td>If true, it overrides the seed checking mecanism. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The position of the cheapest client. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00498">498</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_utils_8h-source.html#l00099">eoVRPUtils::clients</a>, <a class="el" href="eo_v_r_p_utils_8h-source.html#l00157">eoVRPUtils::distance()</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#a59557f718b17c2dda8a633f9862aff4">eoRng::flip()</a>, <a class="el" href="eo_v_r_p_init_8h-source.html#l00109">mSeedsUsed</a>, and <a class="el" href="eo_v_r_p_utils_8h-source.html#l00174">eoVRPUtils::polarAngle()</a>.
</div>
</div><p>
<a class="anchor" name="dd681a23869f69438120ee2d82f85e94"></a><!-- doxytag: member="eoVRPInit::selectBestClientAsSeed" ref="dd681a23869f69438120ee2d82f85e94" args="(const std::vector&lt; int &gt; &amp;_unvisited, int _unvisitedIdx, bool _seedCheckingOverride)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned eoVRPInit::selectBestClientAsSeed </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; int &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_unvisited</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>_unvisitedIdx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>_seedCheckingOverride</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Selects the best (the "hardest" one) client as seed for a new route.
<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>_unvisited</em>&nbsp;</td><td>Vector of unvisited and thus available clients for constructing the new route. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_unvisitedIdx</em>&nbsp;</td><td>Position of the last univisted client in _unvisited vector. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_seedCheckingOverride</em>&nbsp;</td><td>If true, it overrides the seed checking mecanism. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The position of the best client. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00532">532</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_utils_8h-source.html#l00099">eoVRPUtils::clients</a>, <a class="el" href="eo_v_r_p_utils_8h-source.html#l00157">eoVRPUtils::distance()</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#a59557f718b17c2dda8a633f9862aff4">eoRng::flip()</a>, <a class="el" href="eo_v_r_p_init_8h-source.html#l00109">mSeedsUsed</a>, and <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_rng.html#50dfb052f11ae50326e552cb223d88e4">eoRng::uniform()</a>.
<p>
Referenced by <a class="el" href="eo_v_r_p_init_8h-source.html#l00176">createNewRoute()</a>.
</div>
</div><p>
<a class="anchor" name="008ae39692b67ef0b25aed89075b1d46"></a><!-- doxytag: member="eoVRPInit::RandomInitializationNoCheck" ref="008ae39692b67ef0b25aed89075b1d46" args="(eoVRP &amp;_gen)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void eoVRPInit::RandomInitializationNoCheck </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_gen</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Random initializer.
<p>
Initializes a genotype using a random initializer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_gen</em>&nbsp;</td><td>Generally a genotype that has been default-constructed. Whatever it contains will be lost. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_init_8h-source.html#l00569">569</a> of file <a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a>.
<p>
References <a class="el" href="eo_v_r_p_utils_8h-source.html#l00099">eoVRPUtils::clients</a>, and <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>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_v_r_p_init_8h-source.html">eoVRPInit.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:20 2007 for CVRP-TW 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

View file

@ -0,0 +1,53 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRPMutation Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#1c99e21818d6bae1cdd21b4180601d41">className</a>() const </td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#b6b7e818085f6ba03d64f045f32356be">DisplacementMutation</a>(eoVRP &amp;_genotype)</td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_mon_op.html#8dce578ea839d0ea6f2b0e4585b58c86">eoMonOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_mon_op.html">eoMonOp&lt; eoVRP &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#5b9ae9bfcd36ab9cfbc2940039190bdc">eoOp</a>(OpType _type)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#66db208d9e3c9f7920aafa198af07e79">eoOp</a>(const eoOp &amp;_eop)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#419ac5c738369876de09212a844e67c3">eoVRPMutation</a>()</td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#cbcdc56d1ffcab42c6dbd8b449b5f4c8">functor_category</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; eoVRP &amp;, bool &gt;</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#f58534db7113ec9919ecdb69b661eb60">getType</a>() const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#6ead0938bb1f8ab34c321916a6dd5b66">insertionMutation</a>(eoVRP &amp;_genotype)</td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#61cc39a190e9d070b005a7afb5e38d2a">inversionMutation</a>(eoVRP &amp;_genotype)</td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#f9fabdc8497f463add309fdace102813">operator()</a>(eoVRP &amp;_genotype)</td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#04aa988c26acbc7e41e96cae0bd415cc">OpType</a> enum name</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_mutation.html#bef9736583de0b7f6e734b26483ab69d">swapMutation</a>(eoVRP &amp;_genotype)</td><td><a class="el" href="classeo_v_r_p_mutation.html">eoVRPMutation</a></td><td><code> [inline, private]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html#8c8feaced1598f8445a94c22d69dbd31">~eoFunctorBase</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html">eoFunctorBase</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#4d42fee3eb192bc52b184cd098f91850">~eoOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#ed542967512c7a8f2ba6472a0c5c128d">~eoUF</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html">eoUF&lt; eoVRP &amp;, bool &gt;</a></td><td><code> [virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:20 2007 for CVRP-TW 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>

View file

@ -0,0 +1,283 @@
<!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>CVRP-TW: eoVRPMutation 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><a href="namespaces.html"><span>Namespaces</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>eoVRPMutation Class Reference</h1><!-- doxytag: class="eoVRPMutation" --><!-- doxytag: inherits="eoMonOp&lt; eoVRP &gt;" -->Implementation of variations of the four mutation operators for the VRP-TW defined by Tavares et al.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoVRPMutation:
<p><center><img src="classeo_v_r_p_mutation.png" usemap="#eoVRPMutation_map" border="0" alt=""></center>
<map name="eoVRPMutation_map">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_mon_op.html" alt="eoMonOp< eoVRP >" shape="rect" coords="81,112,233,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,152,80">
<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< eoVRP &, bool >" shape="rect" coords="162,56,314,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="162,0,314,24">
</map>
<a href="classeo_v_r_p_mutation-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="419ac5c738369876de09212a844e67c3"></a><!-- doxytag: member="eoVRPMutation::eoVRPMutation" ref="419ac5c738369876de09212a844e67c3" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#419ac5c738369876de09212a844e67c3">eoVRPMutation</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor: nothing to do here. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#1c99e21818d6bae1cdd21b4180601d41">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a string containing the name of the class. <a href="#1c99e21818d6bae1cdd21b4180601d41"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#f9fabdc8497f463add309fdace102813">operator()</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Functor operator. <a href="#f9fabdc8497f463add309fdace102813"></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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#bef9736583de0b7f6e734b26483ab69d">swapMutation</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It exhanges the positions of two clients within the individual. <a href="#bef9736583de0b7f6e734b26483ab69d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#61cc39a190e9d070b005a7afb5e38d2a">inversionMutation</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It selects two positions in the genotype and inverts the clients between them. <a href="#61cc39a190e9d070b005a7afb5e38d2a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#6ead0938bb1f8ab34c321916a6dd5b66">insertionMutation</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It selects and individual, erases it from its original position and inserts it somewhere else. <a href="#6ead0938bb1f8ab34c321916a6dd5b66"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_v_r_p_mutation.html#b6b7e818085f6ba03d64f045f32356be">DisplacementMutation</a> (<a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;_genotype)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It selects a set of clients, erases them from their original position and inserts them somewhere else. <a href="#b6b7e818085f6ba03d64f045f32356be"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of variations of the four mutation operators for the VRP-TW defined by Tavares et al.
<p>
These four operators should be separated in different classes and their probabilities made parameterizable.
<p>
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00052">52</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="1c99e21818d6bae1cdd21b4180601d41"></a><!-- doxytag: member="eoVRPMutation::className" ref="1c99e21818d6bae1cdd21b4180601d41" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string eoVRPMutation::className </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a string containing the name of the class.
<p>
Used to display statistics. <dl compact><dt><b>Returns:</b></dt><dd>The string containing the name of the class. </dd></dl>
<p>
Reimplemented from <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_mon_op.html#0dc1d253f0bd267f27ba8db63beea7f6">eoMonOp&lt; eoVRP &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00070">70</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.
</div>
</div><p>
<a class="anchor" name="f9fabdc8497f463add309fdace102813"></a><!-- doxytag: member="eoVRPMutation::operator()" ref="f9fabdc8497f463add309fdace102813" args="(eoVRP &amp;_genotype)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPMutation::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Functor operator.
<p>
Applies one of the four mutation operators available, each of them with a predefined (hard-coded) probability. These operators should be separated in different classes and their probabilities made parameterizable to do it in a more "paradisEO" way. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_genotype</em>&nbsp;</td><td>The genotype being mutated (it will be probably modified). </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the individual has been modified. False otherwise. </dd></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_u_f.html#786e028409366dc273e19104f17ba68a">eoUF&lt; eoVRP &amp;, bool &gt;</a>.
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00086">86</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.
<p>
References <a class="el" href="eo_v_r_p_8h-source.html#l00283">eoVRP::cleanRoutes()</a>, <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00199">DisplacementMutation()</a>, <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00170">insertionMutation()</a>, <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00142">inversionMutation()</a>, <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00119">swapMutation()</a>, and <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_rng.html#50dfb052f11ae50326e552cb223d88e4">eoRng::uniform()</a>.
</div>
</div><p>
<a class="anchor" name="bef9736583de0b7f6e734b26483ab69d"></a><!-- doxytag: member="eoVRPMutation::swapMutation" ref="bef9736583de0b7f6e734b26483ab69d" args="(eoVRP &amp;_genotype)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPMutation::swapMutation </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
It exhanges the positions of two clients within the individual.
<p>
Clients may or may not be in the same route. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_genotype</em>&nbsp;</td><td>The genotype being mutated (it will be probably modified). </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the individual has been modified. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00119">119</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.
<p>
References <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>.
<p>
Referenced by <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00086">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="61cc39a190e9d070b005a7afb5e38d2a"></a><!-- doxytag: member="eoVRPMutation::inversionMutation" ref="61cc39a190e9d070b005a7afb5e38d2a" args="(eoVRP &amp;_genotype)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPMutation::inversionMutation </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
It selects two positions in the genotype and inverts the clients between them.
<p>
Clients may or may not be in the same route. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_genotype</em>&nbsp;</td><td>The genotype being mutated (it will be probably modified). </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the individual has been modified. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00142">142</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.
<p>
References <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>.
<p>
Referenced by <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00086">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="6ead0938bb1f8ab34c321916a6dd5b66"></a><!-- doxytag: member="eoVRPMutation::insertionMutation" ref="6ead0938bb1f8ab34c321916a6dd5b66" args="(eoVRP &amp;_genotype)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPMutation::insertionMutation </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
It selects and individual, erases it from its original position and inserts it somewhere else.
<p>
The insertion may or may not be within the same route. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_genotype</em>&nbsp;</td><td>The genotype being mutated (it will be probably modified). </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the individual has been modified. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00170">170</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.
<p>
References <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>.
<p>
Referenced by <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00086">operator()()</a>.
</div>
</div><p>
<a class="anchor" name="b6b7e818085f6ba03d64f045f32356be"></a><!-- doxytag: member="eoVRPMutation::DisplacementMutation" ref="b6b7e818085f6ba03d64f045f32356be" args="(eoVRP &amp;_genotype)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool eoVRPMutation::DisplacementMutation </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classeo_v_r_p.html">eoVRP</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_genotype</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
It selects a set of clients, erases them from their original position and inserts them somewhere else.
<p>
The selected set of clients may cover different routes. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_genotype</em>&nbsp;</td><td>The genotype being mutated (it will be probably modified). </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the individual has been modified. False otherwise. </dd></dl>
<p>
Definition at line <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00199">199</a> of file <a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a>.
<p>
References <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>.
<p>
Referenced by <a class="el" href="eo_v_r_p_mutation_8h-source.html#l00086">operator()()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_v_r_p_mutation_8h-source.html">eoVRPMutation.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:20 2007 for CVRP-TW 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,49 @@
<!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>CVRP-TW: Member List</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><a href="namespaces.html"><span>Namespaces</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>eoVRPOnePointCrossover Member List</h1>This is the complete list of members for <a class="el" href="classeo_v_r_p_one_point_crossover.html">eoVRPOnePointCrossover</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_one_point_crossover.html#a62bc52e6f36d7fae7c192173fbfd2dc">className</a>() const </td><td><a class="el" href="classeo_v_r_p_one_point_crossover.html">eoVRPOnePointCrossover</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#5b9ae9bfcd36ab9cfbc2940039190bdc">eoOp</a>(OpType _type)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#66db208d9e3c9f7920aafa198af07e79">eoOp</a>(const eoOp &amp;_eop)</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html#62fbc856096e060fbbed39340a8b4f45">eoQuadOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_quad_op.html">eoQuadOp&lt; eoVRP &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_one_point_crossover.html#24f40efc1adb60947c5d533653bbfbe9">eoVRPOnePointCrossover</a>()</td><td><a class="el" href="classeo_v_r_p_one_point_crossover.html">eoVRPOnePointCrossover</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><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#fc64069be06fa835846ab2a7114c5374">functor_category</a>()</td><td><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">eoBF&lt; eoVRP &amp;, eoVRP &amp;, bool &gt;</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#f58534db7113ec9919ecdb69b661eb60">getType</a>() const </td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classeo_v_r_p_one_point_crossover.html#b930b5d9a8ee0719f675f9eea791579b">operator()</a>(eoVRP &amp;_genotype1, eoVRP &amp;_genotype2)</td><td><a class="el" href="classeo_v_r_p_one_point_crossover.html">eoVRPOnePointCrossover</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#04aa988c26acbc7e41e96cae0bd415cc">OpType</a> enum name</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td></td></tr>
<tr class="memlist"><td><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#adc459db710dea2a91c47f8b6863b96c">~eoBF</a>()</td><td><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">eoBF&lt; eoVRP &amp;, eoVRP &amp;, bool &gt;</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html#8c8feaced1598f8445a94c22d69dbd31">~eoFunctorBase</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html">eoFunctorBase</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html#4d42fee3eb192bc52b184cd098f91850">~eoOp</a>()</td><td><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_op.html">eoOp&lt; EOType &gt;</a></td><td><code> [virtual]</code></td></tr>
</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 7 16:57:20 2007 for CVRP-TW 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>

Some files were not shown because too many files have changed in this diff Show more