paradiseo/trunk/paradiseo-moeo/doc/html/classmoeoSharingDiversityAssignment.html
liefooga 320c6b06ff update doc with new stuffs
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@497 331e1502-861f-0410-8da2-ba01fb791d7f
2007-07-02 14:05:51 +00:00

347 lines
23 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: moeoSharingDiversityAssignment&lt; MOEOT &gt; 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.4.7 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main&nbsp;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>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>moeoSharingDiversityAssignment&lt; MOEOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoSharingDiversityAssignment" --><!-- doxytag: inherits="moeoDiversityAssignment" -->Sharing assignment scheme originally porposed by: D.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoSharingDiversityAssignment&lt; MOEOT &gt;:
<p><center><img src="classmoeoSharingDiversityAssignment.png" usemap="#moeoSharingDiversityAssignment< MOEOT >_map" border="0" alt=""></center>
<map name="moeoSharingDiversityAssignment< MOEOT >_map">
<area href="classmoeoDiversityAssignment.html" alt="moeoDiversityAssignment< MOEOT >" shape="rect" coords="0,112,345,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html" alt="eoUF< eoPop< MOEOT > &, void >" shape="rect" coords="0,56,345,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,345,24">
<area href="classmoeoFrontByFrontSharingDiversityAssignment.html" alt="moeoFrontByFrontSharingDiversityAssignment< MOEOT >" shape="rect" coords="0,224,345,248">
</map>
<a href="classmoeoSharingDiversityAssignment-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e92f136f41363dcb8a6df94dbf2f3b3"></a><!-- doxytag: member="moeoSharingDiversityAssignment::ObjectiveVector" ref="5e92f136f41363dcb8a6df94dbf2f3b3" args="" -->
typedef MOEOT::ObjectiveVector&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#5e92f136f41363dcb8a6df94dbf2f3b3">ObjectiveVector</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the objective vector type of the solutions <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#10ba0d2cdd57ce47244afdf4b1623409">moeoSharingDiversityAssignment</a> (<a class="el" href="classmoeoDistance.html">moeoDistance</a>&lt; MOEOT, double &gt; &amp;_distance, double _nicheSize=0.5, double _alpha=1.0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor. <a href="#10ba0d2cdd57ce47244afdf4b1623409"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#ccc66529da0cacd3f11a019ebe646668">moeoSharingDiversityAssignment</a> (double _nicheSize=0.5, double _alpha=1.0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor with an euclidean distance (with normalized objective values) in the objective space is used as default. <a href="#ccc66529da0cacd3f11a019ebe646668"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#6228be85e166172cf03def1a004505d5">operator()</a> (<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;_pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets diversity values for every solution contained in the population _pop. <a href="#6228be85e166172cf03def1a004505d5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#21c8d6e020af23b2be219b7e02248300">updateByDeleting</a> (<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;_pop, <a class="el" href="classmoeoSharingDiversityAssignment.html#5e92f136f41363dcb8a6df94dbf2f3b3">ObjectiveVector</a> &amp;_objVec)</td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#c01f6ac1abba3799f5c4b6c0608dac55">setSimilarities</a> (<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;_pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets similarities for every solution contained in the population _pop. <a href="#c01f6ac1abba3799f5c4b6c0608dac55"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#5b5daaa55e97c6fcd172d61c7837e26c">sh</a> (double _dist)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sharing function. <a href="#5b5daaa55e97c6fcd172d61c7837e26c"></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="b81d950d0469ebd4c769994bcea58f8b"></a><!-- doxytag: member="moeoSharingDiversityAssignment::distance" ref="b81d950d0469ebd4c769994bcea58f8b" args="" -->
<a class="el" href="classmoeoDistance.html">moeoDistance</a>&lt; MOEOT, double &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#b81d950d0469ebd4c769994bcea58f8b">distance</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the distance used to compute the neighborhood of solutions <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ecde6f1a0ba15d9ec563396a585188f0"></a><!-- doxytag: member="moeoSharingDiversityAssignment::defaultDistance" ref="ecde6f1a0ba15d9ec563396a585188f0" args="" -->
<a class="el" href="classmoeoEuclideanDistance.html">moeoEuclideanDistance</a>&lt; MOEOT &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#ecde6f1a0ba15d9ec563396a585188f0">defaultDistance</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">euclidean distancein the objective space (can be used as default) <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="175d978d4b56603a3bcb45fec8395441"></a><!-- doxytag: member="moeoSharingDiversityAssignment::nicheSize" ref="175d978d4b56603a3bcb45fec8395441" args="" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#175d978d4b56603a3bcb45fec8395441">nicheSize</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">neighborhood size in terms of radius distance <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95ed49448a35d5b99cdfd496a33fd45b"></a><!-- doxytag: member="moeoSharingDiversityAssignment::alpha" ref="95ed49448a35d5b99cdfd496a33fd45b" args="" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoSharingDiversityAssignment.html#95ed49448a35d5b99cdfd496a33fd45b">alpha</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">parameter used to regulate the shape of the sharing function <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class MOEOT&gt;<br>
class moeoSharingDiversityAssignment&lt; MOEOT &gt;</h3>
Sharing assignment scheme originally porposed by: D.
<p>
E. Goldberg, "Genetic Algorithms in Search, Optimization and Machine Learning", Addision-Wesley, MA, USA (1989).
<p>
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00028">28</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="10ba0d2cdd57ce47244afdf4b1623409"></a><!-- doxytag: member="moeoSharingDiversityAssignment::moeoSharingDiversityAssignment" ref="10ba0d2cdd57ce47244afdf4b1623409" args="(moeoDistance&lt; MOEOT, double &gt; &amp;_distance, double _nicheSize=0.5, double _alpha=1.0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a>&lt; MOEOT &gt;::<a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmoeoDistance.html">moeoDistance</a>&lt; MOEOT, double &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_distance</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>_alpha</em> = <code>1.0</code></td><td>&nbsp;</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>
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>_distance</em>&nbsp;</td><td>the distance used to compute the neighborhood of solutions (can be related to the decision space or the objective space) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_nicheSize</em>&nbsp;</td><td>neighborhood size in terms of radius distance (closely related to the way the distances are computed) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_alpha</em>&nbsp;</td><td>parameter used to regulate the shape of the sharing function </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00042">42</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.
</div>
</div><p>
<a class="anchor" name="ccc66529da0cacd3f11a019ebe646668"></a><!-- doxytag: member="moeoSharingDiversityAssignment::moeoSharingDiversityAssignment" ref="ccc66529da0cacd3f11a019ebe646668" args="(double _nicheSize=0.5, double _alpha=1.0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a>&lt; MOEOT &gt;::<a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a> </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>_nicheSize</em> = <code>0.5</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>_alpha</em> = <code>1.0</code></td><td>&nbsp;</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>
Ctor with an euclidean distance (with normalized objective values) in the objective space is used as default.
<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>_nicheSize</em>&nbsp;</td><td>neighborhood size in terms of radius distance (closely related to the way the distances are computed) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_alpha</em>&nbsp;</td><td>parameter used to regulate the shape of the sharing function </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00051">51</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6228be85e166172cf03def1a004505d5"></a><!-- doxytag: member="moeoSharingDiversityAssignment::operator()" ref="6228be85e166172cf03def1a004505d5" args="(eoPop&lt; MOEOT &gt; &amp;_pop)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a>&lt; MOEOT &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_pop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets diversity values for every solution contained in the population _pop.
<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>_pop</em>&nbsp;</td><td>the population </td></tr>
</table>
</dl>
<p>
Implements <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html#786e028409366dc273e19104f17ba68a">eoUF&lt; eoPop&lt; MOEOT &gt; &amp;, void &gt;</a>.
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00059">59</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.
<p>
References <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00102">moeoSharingDiversityAssignment&lt; MOEOT &gt;::setSimilarities()</a>.
</div>
</div><p>
<a class="anchor" name="21c8d6e020af23b2be219b7e02248300"></a><!-- doxytag: member="moeoSharingDiversityAssignment::updateByDeleting" ref="21c8d6e020af23b2be219b7e02248300" args="(eoPop&lt; MOEOT &gt; &amp;_pop, ObjectiveVector &amp;_objVec)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a>&lt; MOEOT &gt;::updateByDeleting </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_pop</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmoeoSharingDiversityAssignment.html#5e92f136f41363dcb8a6df94dbf2f3b3">ObjectiveVector</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_objVec</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Warning:</b></dt><dd>NOT IMPLEMENTED, DO NOTHING ! Updates the diversity values of the whole population _pop by taking the deletion of the objective vector _objVec into account. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_pop</em>&nbsp;</td><td>the population </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_objVec</em>&nbsp;</td><td>the objective vector </td></tr>
</table>
</dl>
<dl compact><dt><b>Warning:</b></dt><dd>NOT IMPLEMENTED, DO NOTHING ! </dd></dl>
<p>
Implements <a class="el" href="classmoeoDiversityAssignment.html#57f400263b36664df6269f1b522cfdcb">moeoDiversityAssignment&lt; MOEOT &gt;</a>.
<p>
Reimplemented in <a class="el" href="classmoeoFrontByFrontSharingDiversityAssignment.html#623489a246f86cf24cc5860d32caa743">moeoFrontByFrontSharingDiversityAssignment&lt; MOEOT &gt;</a>.
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00080">80</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.
</div>
</div><p>
<a class="anchor" name="c01f6ac1abba3799f5c4b6c0608dac55"></a><!-- doxytag: member="moeoSharingDiversityAssignment::setSimilarities" ref="c01f6ac1abba3799f5c4b6c0608dac55" args="(eoPop&lt; MOEOT &gt; &amp;_pop)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a>&lt; MOEOT &gt;::setSimilarities </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_pop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets similarities for every solution contained in the population _pop.
<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>_pop</em>&nbsp;</td><td>the population </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="classmoeoFrontByFrontSharingDiversityAssignment.html#a0f6c045237aba2857c4a9ec25679e69">moeoFrontByFrontSharingDiversityAssignment&lt; MOEOT &gt;</a>.
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00102">102</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.
<p>
References <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00089">moeoSharingDiversityAssignment&lt; MOEOT &gt;::distance</a>, and <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00125">moeoSharingDiversityAssignment&lt; MOEOT &gt;::sh()</a>.
<p>
Referenced by <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00059">moeoSharingDiversityAssignment&lt; MOEOT &gt;::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="5b5daaa55e97c6fcd172d61c7837e26c"></a><!-- doxytag: member="moeoSharingDiversityAssignment::sh" ref="5b5daaa55e97c6fcd172d61c7837e26c" args="(double _dist)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="classmoeoSharingDiversityAssignment.html">moeoSharingDiversityAssignment</a>&lt; MOEOT &gt;::sh </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>_dist</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sharing function.
<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>_dist</em>&nbsp;</td><td>the distance value </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00125">125</a> of file <a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a>.
<p>
References <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00095">moeoSharingDiversityAssignment&lt; MOEOT &gt;::alpha</a>, and <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00093">moeoSharingDiversityAssignment&lt; MOEOT &gt;::nicheSize</a>.
<p>
Referenced by <a class="el" href="moeoSharingDiversityAssignment_8h-source.html#l00102">moeoSharingDiversityAssignment&lt; MOEOT &gt;::setSimilarities()</a>, and <a class="el" href="moeoFrontByFrontSharingDiversityAssignment_8h-source.html#l00074">moeoFrontByFrontSharingDiversityAssignment&lt; MOEOT &gt;::setSimilarities()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoSharingDiversityAssignment_8h-source.html">moeoSharingDiversityAssignment.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 16:05:02 2007 for ParadisEO-MOEO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>