git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
67 lines
6.2 KiB
HTML
67 lines
6.2 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: eoScalarFitness< ScalarType, Compare > 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>eoScalarFitness< ScalarType, Compare > Class Template Reference</h1>eoScalarFitness<ScalarType, Compare = less<ScalarType> >: Wraps a scalar fitness values such as a double or int, with the option of maximizing (using less<ScalarType>) or minimizing (using greater<ScalarType>)
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_scalar_fitness_8h-source.html">eoScalarFitness.h</a>></code>
|
|
<p>
|
|
<a href="classeo_scalar_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 Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoScalarFitness::eoScalarFitness"></a>
|
|
</td><td class="memItemRight" valign="bottom"><b>eoScalarFitness</b> (const <a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a> &other)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoScalarFitness::eoScalarFitness"></a>
|
|
</td><td class="memItemRight" valign="bottom"><b>eoScalarFitness</b> (const ScalarType &v)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoScalarFitness::operator="></a>
|
|
<a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a> &other)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoScalarFitness::operator="></a>
|
|
<a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const ScalarType &v)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoScalarFitness::operator ScalarType"></a>
|
|
</td><td class="memItemRight" valign="bottom"><b>operator ScalarType</b> (void) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="eoScalarFitness::operator<"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_scalar_fitness.html#a6">operator<</a> (const <a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a> &other) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Comparison, using less by default. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="eoScalarFitness::operator>"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator></b> (const <a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a>< ScalarType, Compare > &y) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8" doxytag="eoScalarFitness::operator<="></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator<=</b> (const <a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a>< ScalarType, Compare > &y) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9" doxytag="eoScalarFitness::operator>="></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>operator>=</b> (const <a class="el" href="classeo_scalar_fitness.html">eoScalarFitness</a>< ScalarType, Compare > &y) const </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="r0" doxytag="eoScalarFitness::value"></a>
|
|
ScalarType </td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class ScalarType, class Compare><br>
|
|
class eoScalarFitness< ScalarType, Compare ></h3>
|
|
|
|
eoScalarFitness<ScalarType, Compare = less<ScalarType> >: Wraps a scalar fitness values such as a double or int, with the option of maximizing (using less<ScalarType>) or minimizing (using greater<ScalarType>)
|
|
<p>
|
|
It overrides <a class="el" href="classeo_scalar_fitness.html#a6">operator<()</a> to use the Compare template argument<p>
|
|
Suitable constructors and assignments and casts are defined to work with this quantity as if it were a ScalarType.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_scalar_fitness_8h-source.html#l00043">43</a> of file <a class="el" href="eo_scalar_fitness_8h-source.html">eoScalarFitness.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="eo_scalar_fitness_8h-source.html">eoScalarFitness.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:55 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>
|