git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
73 lines
6.9 KiB
HTML
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< FitnessTraits > 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 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
|
<h1>eoParetoFitness< FitnessTraits > Class Template Reference</h1>eoParetoFitness class: std::vector of doubles with overloaded comparison operators.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_pareto_fitness_8h-source.html">eoParetoFitness.h</a>></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 </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>
|
|
</td><td class="memItemRight" valign="bottom"><b>eoParetoFitness</b> (std::vector< double > &_v)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoParetoFitness::dominates"></a>
|
|
bool </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>< FitnessTraits > &_other) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_pareto_fitness.html#a3">operator<</a> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>< FitnessTraits > &_other) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><b>operator></b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>< FitnessTraits > &_other) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoParetoFitness::operator<="></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator<=</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>< FitnessTraits > &_other) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="eoParetoFitness::operator>="></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator>=</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>< FitnessTraits > &_other) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="eoParetoFitness::operator=="></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>< FitnessTraits > &_other) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8" doxytag="eoParetoFitness::operator!="></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classeo_pareto_fitness.html">eoParetoFitness</a>< FitnessTraits > &_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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_pareto_fitness.html#e0">setUp</a> (unsigned _n, std::vector< bool > &_b)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </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<class FitnessTraits = eoParetoFitnessTraits><br>
|
|
class eoParetoFitness< FitnessTraits ></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 < b) && !(b <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
|
|
<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>
|