git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
100 lines
6.2 KiB
HTML
100 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>ParadisEO-MOEO: moeoEnvironmentalReplacement< MOEOT >::Cmp Class 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>
|
|
<div class="nav">
|
|
<a class="el" href="classmoeoEnvironmentalReplacement.html">moeoEnvironmentalReplacement</a>::<a class="el" href="classmoeoEnvironmentalReplacement_1_1Cmp.html">Cmp</a></div>
|
|
<h1>moeoEnvironmentalReplacement< MOEOT >::Cmp Class Reference</h1><!-- doxytag: class="moeoEnvironmentalReplacement::Cmp" -->This class is used to compare solutions in order to sort the population.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="moeoEnvironmentalReplacement_8h-source.html">moeoEnvironmentalReplacement.h</a>></code>
|
|
<p>
|
|
<a href="classmoeoEnvironmentalReplacement_1_1Cmp-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="classmoeoEnvironmentalReplacement_1_1Cmp.html#734409b8f04b599c5291520b5cfc9177">Cmp</a> (<a class="el" href="classmoeoComparator.html">moeoComparator</a>< MOEOT > &_comparator)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <a href="#734409b8f04b599c5291520b5cfc9177"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b006918d5d6fc1f87fb9ed585946595a"></a><!-- doxytag: member="moeoEnvironmentalReplacement::Cmp::operator()" ref="b006918d5d6fc1f87fb9ed585946595a" args="(const MOEOT &_moeo1, const MOEOT &_moeo2)" -->
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEnvironmentalReplacement_1_1Cmp.html#b006918d5d6fc1f87fb9ed585946595a">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 according to the comparator _moeo1 the first individual _moeo2 the first individual. <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="7d2cc653e0ec997e72381a3f191a30df"></a><!-- doxytag: member="moeoEnvironmentalReplacement::Cmp::comparator" ref="7d2cc653e0ec997e72381a3f191a30df" args="" -->
|
|
<a class="el" href="classmoeoComparator.html">moeoComparator</a>< MOEOT > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEnvironmentalReplacement_1_1Cmp.html#7d2cc653e0ec997e72381a3f191a30df">comparator</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">the comparator <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class MOEOT><br>
|
|
class moeoEnvironmentalReplacement< MOEOT >::Cmp</h3>
|
|
|
|
This class is used to compare solutions in order to sort the population.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoEnvironmentalReplacement_8h-source.html#l00117">117</a> of file <a class="el" href="moeoEnvironmentalReplacement_8h-source.html">moeoEnvironmentalReplacement.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="734409b8f04b599c5291520b5cfc9177"></a><!-- doxytag: member="moeoEnvironmentalReplacement::Cmp::Cmp" ref="734409b8f04b599c5291520b5cfc9177" args="(moeoComparator< MOEOT > &_comparator)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoEnvironmentalReplacement.html">moeoEnvironmentalReplacement</a>< MOEOT >::Cmp::Cmp </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classmoeoComparator.html">moeoComparator</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_comparator</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>_comparator</em> </td><td>the comparator </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoEnvironmentalReplacement_8h-source.html#l00125">125</a> of file <a class="el" href="moeoEnvironmentalReplacement_8h-source.html">moeoEnvironmentalReplacement.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="moeoEnvironmentalReplacement_8h-source.html">moeoEnvironmentalReplacement.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 17 16:53:21 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>
|