paradiseo/trunk/paradiseo-moeo/docs/html/classmoeoObjectiveVector.html
liefooga 2e7e817428 update docs
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
2007-04-17 15:45:01 +00:00

183 lines
10 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: moeoObjectiveVector&lt; ObjectiveVectorTraits &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.5.1 -->
<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>moeoObjectiveVector&lt; ObjectiveVectorTraits &gt; Class Template Reference</h1><!-- doxytag: class="moeoObjectiveVector" -->Abstract class allowing to represent a solution in the objective space (phenotypic representation).
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoObjectiveVector_8h-source.html">moeoObjectiveVector.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoObjectiveVector&lt; ObjectiveVectorTraits &gt;:
<p><center><img src="classmoeoObjectiveVector.png" usemap="#moeoObjectiveVector< ObjectiveVectorTraits >_map" border="0" alt=""></center>
<map name="moeoObjectiveVector< ObjectiveVectorTraits >_map">
<area href="classmoeoObjectiveVectorDouble.html" alt="moeoObjectiveVectorDouble< ObjectiveVectorTraits >" shape="rect" coords="0,56,321,80">
</map>
<a href="classmoeoObjectiveVector-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="f7085174831edefb79ef5365aee86f87"></a><!-- doxytag: member="moeoObjectiveVector::Traits" ref="f7085174831edefb79ef5365aee86f87" args="" -->
typedef ObjectiveVectorTraits&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoObjectiveVector.html#f7085174831edefb79ef5365aee86f87">Traits</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The traits of objective vectors. <br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoObjectiveVector.html#126770eefd109a84c010f5cbc46e2be3">setup</a> (unsigned _nObjectives, std::vector&lt; bool &gt; &amp;_bObjectives)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parameters setting (for the objective vector of any solution). <a href="#126770eefd109a84c010f5cbc46e2be3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5b74b561422cd7cd56924a8f974eee3"></a><!-- doxytag: member="moeoObjectiveVector::nObjectives" ref="b5b74b561422cd7cd56924a8f974eee3" args="()" -->
static unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoObjectiveVector.html#b5b74b561422cd7cd56924a8f974eee3">nObjectives</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of objectives. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoObjectiveVector.html#6b5cb023de954c9a58f56f45e3ad8e5c">minimizing</a> (unsigned _i)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the _ith objective have to be minimized. <a href="#6b5cb023de954c9a58f56f45e3ad8e5c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoObjectiveVector.html#83e65052452ce9036d49f0868ddd7326">maximizing</a> (unsigned _i)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the _ith objective have to be maximized. <a href="#83e65052452ce9036d49f0868ddd7326"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class ObjectiveVectorTraits&gt;<br>
class moeoObjectiveVector&lt; ObjectiveVectorTraits &gt;</h3>
Abstract class allowing to represent a solution in the objective space (phenotypic representation).
<p>
The template argument ObjectiveVectorTraits defaults to <a class="el" href="classmoeoObjectiveVectorTraits.html">moeoObjectiveVectorTraits</a>, but it can be replaced at will by any other class that implements the static functions defined therein. Some static funtions to access to the traits characteristics are re-defined in order not to write a lot of typedef's.
<p>
<p>
Definition at line <a class="el" href="moeoObjectiveVector_8h-source.html#l00028">28</a> of file <a class="el" href="moeoObjectiveVector_8h-source.html">moeoObjectiveVector.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="126770eefd109a84c010f5cbc46e2be3"></a><!-- doxytag: member="moeoObjectiveVector::setup" ref="126770eefd109a84c010f5cbc46e2be3" args="(unsigned _nObjectives, std::vector&lt; bool &gt; &amp;_bObjectives)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVectorTraits&gt; </div>
<table class="memname">
<tr>
<td class="memname">static void <a class="el" href="classmoeoObjectiveVector.html">moeoObjectiveVector</a>&lt; ObjectiveVectorTraits &gt;::setup </td>
<td>(</td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_nObjectives</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; bool &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_bObjectives</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parameters setting (for the objective vector of any solution).
<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>_nObjectives</em>&nbsp;</td><td>the number of objectives </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_bObjectives</em>&nbsp;</td><td>the min/max vector (true = min / false = max) </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoObjectiveVector_8h-source.html#l00041">41</a> of file <a class="el" href="moeoObjectiveVector_8h-source.html">moeoObjectiveVector.h</a>.
</div>
</div><p>
<a class="anchor" name="6b5cb023de954c9a58f56f45e3ad8e5c"></a><!-- doxytag: member="moeoObjectiveVector::minimizing" ref="6b5cb023de954c9a58f56f45e3ad8e5c" args="(unsigned _i)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVectorTraits&gt; </div>
<table class="memname">
<tr>
<td class="memname">static bool <a class="el" href="classmoeoObjectiveVector.html">moeoObjectiveVector</a>&lt; ObjectiveVectorTraits &gt;::minimizing </td>
<td>(</td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_i</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the _ith objective have to be minimized.
<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>_i</em>&nbsp;</td><td>the index </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoObjectiveVector_8h-source.html#l00060">60</a> of file <a class="el" href="moeoObjectiveVector_8h-source.html">moeoObjectiveVector.h</a>.
</div>
</div><p>
<a class="anchor" name="83e65052452ce9036d49f0868ddd7326"></a><!-- doxytag: member="moeoObjectiveVector::maximizing" ref="83e65052452ce9036d49f0868ddd7326" args="(unsigned _i)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVectorTraits&gt; </div>
<table class="memname">
<tr>
<td class="memname">static bool <a class="el" href="classmoeoObjectiveVector.html">moeoObjectiveVector</a>&lt; ObjectiveVectorTraits &gt;::maximizing </td>
<td>(</td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_i</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the _ith objective have to be maximized.
<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>_i</em>&nbsp;</td><td>the index </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoObjectiveVector_8h-source.html#l00069">69</a> of file <a class="el" href="moeoObjectiveVector_8h-source.html">moeoObjectiveVector.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoObjectiveVector_8h-source.html">moeoObjectiveVector.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 17 16:53:22 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.5.1 </small></address>
</body>
</html>