git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
213 lines
12 KiB
HTML
213 lines
12 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: eoSegmentCrossover< EOT > 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>eoSegmentCrossover< EOT > Class Template Reference</h1>eoSegmentCrossover --> uniform choice in segment == arithmetical with same value along all coordinates
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_real_op_8h-source.html">Tutorial/eoRealOp.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for eoSegmentCrossover< EOT >:
|
|
<p><center><img src="classeo_segment_crossover.png" usemap="#eoSegmentCrossover< EOT >_map" border="0" alt=""></center>
|
|
<map name="eoSegmentCrossover< EOT >_map">
|
|
<area href="classeo_quad_op.html" alt="eoQuadOp< EOT >" shape="rect" coords="127,112,371,136">
|
|
<area href="classeo_op.html" alt="eoOp< EOT >" shape="rect" coords="0,56,244,80">
|
|
<area href="classeo_b_f.html" alt="eoBF< EOT &, EOT &, bool >" shape="rect" coords="254,56,498,80">
|
|
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="127,0,371,24">
|
|
</map>
|
|
<a href="classeo_segment_crossover-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="classeo_segment_crossover.html#a0">eoSegmentCrossover</a> (const double &_alpha=0.0)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">(Default) Constructor. <a href="#a0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_segment_crossover.html#a1">eoSegmentCrossover</a> (<a class="el" href="classeo_real_vector_bounds.html">eoRealVectorBounds</a> &_bounds, const double &_alpha=0.0)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor with bounds. <a href="#a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoSegmentCrossover::className"></a>
|
|
virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_segment_crossover.html#a2">className</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The class name. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_segment_crossover.html#a3">operator()</a> (<a class="el" href="struct_dummy.html">EOT</a> &_eo1, <a class="el" href="struct_dummy.html">EOT</a> &_eo2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">segment crossover - modifies both parents <a href="#a3"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p0" doxytag="eoSegmentCrossover::bounds"></a>
|
|
<a class="el" href="classeo_real_vector_bounds.html">eoRealVectorBounds</a> & </td><td class="memItemRight" valign="bottom"><b>bounds</b></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p1" doxytag="eoSegmentCrossover::alpha"></a>
|
|
double </td><td class="memItemRight" valign="bottom"><b>alpha</b></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p2" doxytag="eoSegmentCrossover::range"></a>
|
|
double </td><td class="memItemRight" valign="bottom"><b>range</b></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT><br>
|
|
class eoSegmentCrossover< EOT ></h3>
|
|
|
|
eoSegmentCrossover --> uniform choice in segment == arithmetical with same value along all coordinates
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_real_op_8h-source.html#l00247">247</a> of file <a class="el" href="eo_real_op_8h-source.html">eoRealOp.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="a0" doxytag="eoSegmentCrossover::eoSegmentCrossover"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_segment_crossover.html">eoSegmentCrossover</a>< <a class="el" href="struct_dummy.html">EOT</a> >::<a class="el" href="classeo_segment_crossover.html">eoSegmentCrossover</a> </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const double & </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>_alpha</em> = <code>0.0</code> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
(Default) Constructor.
|
|
<p>
|
|
The bounds are initialized with the global object that says: no bounds.<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>_alphaMin</em> </td><td>the amount of exploration OUTSIDE the parents as in BLX-alpha notation (Eshelman and Schaffer) 0 == contractive application Must be positive </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_real_op_8h-source.html#l00259">259</a> of file <a class="el" href="eo_real_op_8h-source.html">eoRealOp.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1" doxytag="eoSegmentCrossover::eoSegmentCrossover"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_segment_crossover.html">eoSegmentCrossover</a>< <a class="el" href="struct_dummy.html">EOT</a> >::<a class="el" href="classeo_segment_crossover.html">eoSegmentCrossover</a> </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_real_vector_bounds.html">eoRealVectorBounds</a> & </td>
|
|
<td class="mdname" nowrap> <em>_bounds</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const double & </td>
|
|
<td class="mdname" nowrap> <em>_alpha</em> = <code>0.0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Constructor with bounds.
|
|
<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>_bounds</em> </td><td>an <a class="el" href="classeo_real_vector_bounds.html">eoRealVectorBounds</a> that contains the bounds </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_alphaMin</em> </td><td>the amount of exploration OUTSIDE the parents as in BLX-alpha notation (Eshelman and Schaffer) 0 == contractive application Must be positive </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_real_op_8h-source.html#l00270">270</a> of file <a class="el" href="eo_real_op_8h-source.html">eoRealOp.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="a3" doxytag="eoSegmentCrossover::operator()"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top">bool <a class="el" href="classeo_segment_crossover.html">eoSegmentCrossover</a>< <a class="el" href="struct_dummy.html">EOT</a> >::operator() </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="struct_dummy.html">EOT</a> & </td>
|
|
<td class="mdname" nowrap> <em>_eo1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap><a class="el" href="struct_dummy.html">EOT</a> & </td>
|
|
<td class="mdname" nowrap> <em>_eo2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
segment crossover - modifies both parents
|
|
<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>_eo1</em> </td><td>The first parent </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_eo2</em> </td><td>The first parent </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classeo_b_f.html#a1">eoBF< EOT &, EOT &, bool ></a>.
|
|
<p>
|
|
Definition at line <a class="el" href="eo_real_op_8h-source.html#l00282">282</a> of file <a class="el" href="eo_real_op_8h-source.html">eoRealOp.h</a>.
|
|
<p>
|
|
References <a class="el" href="eo_real_vector_bounds_8h-source.html#l00120">eoRealBaseVectorBounds::isMaxBounded()</a>, <a class="el" href="eo_real_vector_bounds_8h-source.html#l00117">eoRealBaseVectorBounds::isMinBounded()</a>, <a class="el" href="eo_real_vector_bounds_8h-source.html#l00175">eoRealBaseVectorBounds::maximum()</a>, <a class="el" href="eo_real_vector_bounds_8h-source.html#l00174">eoRealBaseVectorBounds::minimum()</a>, and <a class="el" href="eo_r_n_g_8h-source.html#l00158">eoRng::uniform()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="eo_real_op_8h-source.html">eoRealOp.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>
|