git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
150 lines
8.1 KiB
HTML
150 lines
8.1 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: moeoOneObjectiveComparator< MOEOT > 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>
|
|
<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>moeoOneObjectiveComparator< MOEOT > Class Template Reference</h1><!-- doxytag: class="moeoOneObjectiveComparator" --><!-- doxytag: inherits="moeoComparator" -->Functor allowing to compare two solutions according to one objective.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoOneObjectiveComparator< MOEOT >:
|
|
<p><center><img src="classmoeoOneObjectiveComparator.png" usemap="#moeoOneObjectiveComparator< MOEOT >_map" border="0" alt=""></center>
|
|
<map name="moeoOneObjectiveComparator< MOEOT >_map">
|
|
<area href="classmoeoComparator.html" alt="moeoComparator< MOEOT >" shape="rect" coords="0,112,256,136">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_b_f.html" alt="eoBF< A1, A2, R >" shape="rect" coords="0,56,256,80">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,256,24">
|
|
</map>
|
|
<a href="classmoeoOneObjectiveComparator-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoOneObjectiveComparator.html#5b8b31285c72a6fd17eba4e3ce0317fd">moeoOneObjectiveComparator</a> (unsigned _obj)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <a href="#5b8b31285c72a6fd17eba4e3ce0317fd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoOneObjectiveComparator.html#962a4cbc308c30a83c9c485a79374f6a">operator()</a> (const MOEOT &_moeo1, const MOEOT &_moeo2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if _moeo1 is greater than _moeo2 on the obj objective. <a href="#962a4cbc308c30a83c9c485a79374f6a"></a><br></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="210e1300281084eb5f9dd378e6ac5a32"></a><!-- doxytag: member="moeoOneObjectiveComparator::obj" ref="210e1300281084eb5f9dd378e6ac5a32" args="" -->
|
|
unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoOneObjectiveComparator.html#210e1300281084eb5f9dd378e6ac5a32">obj</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">the index of objective <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class MOEOT><br>
|
|
class moeoOneObjectiveComparator< MOEOT ></h3>
|
|
|
|
Functor allowing to compare two solutions according to one objective.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoComparator_8h-source.html#l00048">48</a> of file <a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="5b8b31285c72a6fd17eba4e3ce0317fd"></a><!-- doxytag: member="moeoOneObjectiveComparator::moeoOneObjectiveComparator" ref="5b8b31285c72a6fd17eba4e3ce0317fd" args="(unsigned _obj)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoOneObjectiveComparator.html">moeoOneObjectiveComparator</a>< MOEOT >::<a class="el" href="classmoeoOneObjectiveComparator.html">moeoOneObjectiveComparator</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned </td>
|
|
<td class="paramname"> <em>_obj</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Ctor.
|
|
<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>_obj</em> </td><td>the index of objective </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoComparator_8h-source.html#l00056">56</a> of file <a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</a>.
|
|
<p>
|
|
References <a class="el" href="moeoComparator_8h-source.html#l00076">moeoOneObjectiveComparator< MOEOT >::obj</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="962a4cbc308c30a83c9c485a79374f6a"></a><!-- doxytag: member="moeoOneObjectiveComparator::operator()" ref="962a4cbc308c30a83c9c485a79374f6a" args="(const MOEOT &_moeo1, const MOEOT &_moeo2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const bool <a class="el" href="classmoeoOneObjectiveComparator.html">moeoOneObjectiveComparator</a>< MOEOT >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const MOEOT & </td>
|
|
<td class="paramname"> <em>_moeo1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const MOEOT & </td>
|
|
<td class="paramname"> <em>_moeo2</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns true if _moeo1 is greater than _moeo2 on the obj objective.
|
|
<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>_moeo1</em> </td><td>the first solution </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_moeo2</em> </td><td>the second solution </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoComparator_8h-source.html#l00069">69</a> of file <a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</a>.
|
|
<p>
|
|
References <a class="el" href="moeoComparator_8h-source.html#l00076">moeoOneObjectiveComparator< MOEOT >::obj</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 17 16:53:22 2007 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>
|