git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@15 331e1502-861f-0410-8da2-ba01fb791d7f
205 lines
10 KiB
HTML
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< EOT > 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 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 Pages</span></a></li>
|
|
<li>
|
|
<form action="search.php" method="get">
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
<tr>
|
|
<td><label> <u>S</u>earch for </label></td>
|
|
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</li>
|
|
</ul></div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<h1>moeoArchive< EOT > 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 <<a class="el" href="moeoArchive_8h-source.html">moeoArchive.h</a>></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </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> &_fit) const</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </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> &_fit) const</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoArchive.html#be9f67bfe41c25537292056d5b30f56a">update</a> (const EOT &_eo)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoArchive.html#58e891ab400ba352e8b0a341d0bdc107">update</a> (const eoPop< EOT > &_pop)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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<class EOT><br>
|
|
class moeoArchive< EOT ></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 &_fit) const" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classmoeoArchive.html">moeoArchive</a>< EOT >::dominates </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a> & </td>
|
|
<td class="paramname"> <em>_fit</em> </td>
|
|
<td> ) </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> </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< EOT >::update()</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="71feaf270daa7185e829caef40bbf956"></a><!-- doxytag: member="moeoArchive::contains" ref="71feaf270daa7185e829caef40bbf956" args="(const EOFitness &_fit) const" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classmoeoArchive.html">moeoArchive</a>< EOT >::contains </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classmoeoArchive.html#798bc97d8321b1e2c469e5c341a96dac">EOFitness</a> & </td>
|
|
<td class="paramname"> <em>_fit</em> </td>
|
|
<td> ) </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> </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 &_eo)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classmoeoArchive.html">moeoArchive</a>< EOT >::update </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const EOT & </td>
|
|
<td class="paramname"> <em>_eo</em> </td>
|
|
<td> ) </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> </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< EOT >::dominates()</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="moeoArchive_8h-source.html#l00098">moeoArchive< EOT >::update()</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="58e891ab400ba352e8b0a341d0bdc107"></a><!-- doxytag: member="moeoArchive::update" ref="58e891ab400ba352e8b0a341d0bdc107" args="(const eoPop< EOT > &_pop)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classmoeoArchive.html">moeoArchive</a>< EOT >::update </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const eoPop< EOT > & </td>
|
|
<td class="paramname"> <em>_pop</em> </td>
|
|
<td> ) </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> </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< EOT >::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
|
|
<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>
|