paradiseo/trunk/paradiseo-eo/doc/html/classeo_pareto_fitness.html
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

73 lines
6.9 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>EO: eoParetoFitness&lt; FitnessTraits &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"> <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>eoParetoFitness&lt; FitnessTraits &gt; Class Template Reference</h1>eoParetoFitness class: std::vector of doubles with overloaded comparison operators.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_pareto_fitness_8h-source.html">eoParetoFitness.h</a>&gt;</code>
<p>
<a href="classeo_pareto_fitness-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="w0" doxytag="eoParetoFitness::fitness_traits"></a>
typedef FitnessTraits&nbsp;</td><td class="memItemRight" valign="bottom"><b>fitness_traits</b></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="a1" doxytag="eoParetoFitness::eoParetoFitness"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><b>eoParetoFitness</b> (std::vector&lt; double &gt; &amp;_v)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoParetoFitness::dominates"></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_pareto_fitness.html#a2">dominates</a> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Partial order based on Pareto-dominance. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoParetoFitness::operator<"></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_pareto_fitness.html#a3">operator&lt;</a> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">compare *not* on dominance, but on the first, then the second, etc <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoParetoFitness::operator>"></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoParetoFitness::operator<="></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&lt;=</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="eoParetoFitness::operator>="></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&gt;=</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="eoParetoFitness::operator=="></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8" doxytag="eoParetoFitness::operator!="></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>&lt; FitnessTraits &gt; &amp;_other) const </td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0" doxytag="eoParetoFitness::setUp"></a>
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_pareto_fitness.html#e0">setUp</a> (unsigned _n, std::vector&lt; bool &gt; &amp;_b)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access to the traits characteristics (so you don't have to write a lot of typedef's around <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1" doxytag="eoParetoFitness::maximizing"></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>maximizing</b> (unsigned _i)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class FitnessTraits = eoParetoFitnessTraits&gt;<br>
class eoParetoFitness&lt; FitnessTraits &gt;</h3>
eoParetoFitness class: std::vector of doubles with overloaded comparison operators.
<p>
Comparison is done on pareto dominance. The template argument FitnessTraits defaults to <a class="el" href="classeo_pareto_fitness_traits.html">eoParetoFitnessTraits</a>, which can be replaces at will by any other class that implements the static functions defined therein.<p>
Note that the comparison defines a partial order, so that !(a &lt; b) &amp;&amp; !(b &lt;a) does not neccessarily imply that (a==b) The other way around does hold.
<p>
<p>
Definition at line <a class="el" href="eo_pareto_fitness_8h-source.html#l00108">108</a> of file <a class="el" href="eo_pareto_fitness_8h-source.html">eoParetoFitness.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_pareto_fitness_8h-source.html">eoParetoFitness.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:52 2006 for EO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>