paradiseo/trunk/doc/html/classmoeoArchive.html
legrand 71d9bd08e6 MOEO (Multi Objective Evolving Objects) main directory
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@15 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-06 10:10:17 +00:00

205 lines
10 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ParadisEO-MOEO: moeoArchive&lt; EOT &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</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>moeoArchive&lt; EOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoArchive" -->An archive is a secondary population that stores non-dominated solutions.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>&gt;</code>
<p>
<a href="classmoeoArchive-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="798bc97d8321b1e2c469e5c341a96dac"></a><!-- doxytag: member="moeoArchive::EOFitness" ref="798bc97d8321b1e2c469e5c341a96dac" args="" -->
typedef EOT::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The fitness type of a solution. <br></td></tr>
<tr><td colspan="2"><br><h2>Public 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="classmoeoArchive.html#7786c8bfe67fefa19ac31a4ac700df06">dominates</a> (const <a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a> &amp;_fit) const</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the current archive dominates _fit. <a href="#7786c8bfe67fefa19ac31a4ac700df06"></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="classmoeoArchive.html#71feaf270daa7185e829caef40bbf956">contains</a> (const <a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a> &amp;_fit) const</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the current archive contains _fit. <a href="#71feaf270daa7185e829caef40bbf956"></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="classmoeoArchive.html#be9f67bfe41c25537292056d5b30f56a">update</a> (const EOT &amp;_eo)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates the archive with a given individual _eo. <a href="#be9f67bfe41c25537292056d5b30f56a"></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="classmoeoArchive.html#58e891ab400ba352e8b0a341d0bdc107">update</a> (const eoPop&lt; EOT &gt; &amp;_pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates the archive with a given population _pop. <a href="#58e891ab400ba352e8b0a341d0bdc107"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class moeoArchive&lt; EOT &gt;</h3>
An archive is a secondary population that stores non-dominated solutions.
<p>
<p>
Definition at line <a class="el" href="moeoArchive_8h-source.html#l00021">21</a> of file <a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7786c8bfe67fefa19ac31a4ac700df06"></a><!-- doxytag: member="moeoArchive::dominates" ref="7786c8bfe67fefa19ac31a4ac700df06" args="(const EOFitness &amp;_fit) const" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classmoeoArchive.html">moeoArchive</a>&lt; EOT &gt;::dominates </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_fit</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the current archive dominates _fit.
<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>_fit</em>&nbsp;</td><td>the (Pareto) fitness to compare with the current archive </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoArchive_8h-source.html#l00039">39</a> of file <a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>.
<p>
Referenced by <a class="el" href="moeoArchive_8h-source.html#l00063">moeoArchive&lt; EOT &gt;::update()</a>.
</div>
</div><p>
<a class="anchor" name="71feaf270daa7185e829caef40bbf956"></a><!-- doxytag: member="moeoArchive::contains" ref="71feaf270daa7185e829caef40bbf956" args="(const EOFitness &amp;_fit) const" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classmoeoArchive.html">moeoArchive</a>&lt; EOT &gt;::contains </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_fit</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the current archive contains _fit.
<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>_fit</em>&nbsp;</td><td>the (Pareto) fitness to search within the current archive </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoArchive_8h-source.html#l00051">51</a> of file <a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>.
</div>
</div><p>
<a class="anchor" name="be9f67bfe41c25537292056d5b30f56a"></a><!-- doxytag: member="moeoArchive::update" ref="be9f67bfe41c25537292056d5b30f56a" args="(const EOT &amp;_eo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmoeoArchive.html">moeoArchive</a>&lt; EOT &gt;::update </td>
<td>(</td>
<td class="paramtype">const EOT &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>
Updates the archive with a given individual _eo.
<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 given individual </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoArchive_8h-source.html#l00063">63</a> of file <a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>.
<p>
References <a class="el" href="moeoArchive_8h-source.html#l00039">moeoArchive&lt; EOT &gt;::dominates()</a>.
<p>
Referenced by <a class="el" href="moeoArchive_8h-source.html#l00098">moeoArchive&lt; EOT &gt;::update()</a>.
</div>
</div><p>
<a class="anchor" name="58e891ab400ba352e8b0a341d0bdc107"></a><!-- doxytag: member="moeoArchive::update" ref="58e891ab400ba352e8b0a341d0bdc107" args="(const eoPop&lt; EOT &gt; &amp;_pop)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmoeoArchive.html">moeoArchive</a>&lt; EOT &gt;::update </td>
<td>(</td>
<td class="paramtype">const eoPop&lt; EOT &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_pop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Updates the archive with a given population _pop.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_pop</em>&nbsp;</td><td>the given population </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoArchive_8h-source.html#l00098">98</a> of file <a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>.
<p>
References <a class="el" href="moeoArchive_8h-source.html#l00063">moeoArchive&lt; EOT &gt;::update()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 6 10:16:12 2006 for ParadisEO-MOEO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>