git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
106 lines
5.7 KiB
HTML
106 lines
5.7 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: moeoObjectiveComparator< 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>moeoObjectiveComparator< MOEOT > Class Template Reference</h1><!-- doxytag: class="moeoObjectiveComparator" --><!-- doxytag: inherits="moeoComparator" -->Functor allowing to compare two solutions according to their first objective value, then their second, and so on.
|
|
<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 moeoObjectiveComparator< MOEOT >:
|
|
<p><center><img src="classmoeoObjectiveComparator.png" usemap="#moeoObjectiveComparator< MOEOT >_map" border="0" alt=""></center>
|
|
<map name="moeoObjectiveComparator< MOEOT >_map">
|
|
<area href="classmoeoComparator.html" alt="moeoComparator< MOEOT >" shape="rect" coords="0,112,232,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,232,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,232,24">
|
|
</map>
|
|
<a href="classmoeoObjectiveComparator-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">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoObjectiveComparator.html#2de70cc9c5034f9594cc7695af57edaf">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 first objective, then on the second, and so on. <a href="#2de70cc9c5034f9594cc7695af57edaf"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class MOEOT><br>
|
|
class moeoObjectiveComparator< MOEOT ></h3>
|
|
|
|
Functor allowing to compare two solutions according to their first objective value, then their second, and so on.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoComparator_8h-source.html#l00030">30</a> of file <a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</a>.<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="2de70cc9c5034f9594cc7695af57edaf"></a><!-- doxytag: member="moeoObjectiveComparator::operator()" ref="2de70cc9c5034f9594cc7695af57edaf" 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="classmoeoObjectiveComparator.html">moeoObjectiveComparator</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 first objective, then on the second, and so on.
|
|
<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#l00038">38</a> of file <a class="el" href="moeoComparator_8h-source.html">moeoComparator.h</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>
|