git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@400 331e1502-861f-0410-8da2-ba01fb791d7f
182 lines
10 KiB
HTML
182 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: moeoBitVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity > 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 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>moeoBitVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity > Class Template Reference</h1><!-- doxytag: class="moeoBitVector" --><!-- doxytag: inherits="moeoVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity, bool >" -->This class is an implementationeo of a simple bit-valued <a class="el" href="classmoeoVector.html">moeoVector</a>.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="moeoBitVector_8h-source.html">moeoBitVector.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoBitVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity >:
|
|
<p><center><img src="classmoeoBitVector.png" usemap="#moeoBitVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity >_map" border="0" alt=""></center>
|
|
<map name="moeoBitVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity >_map">
|
|
<area href="classmoeoVector.html" alt="moeoVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity, bool >" shape="rect" coords="232,224,686,248">
|
|
<area href="classMOEO.html" alt="MOEO< MOEOObjectiveVector, MOEOFitness, MOEODiversity >" shape="rect" coords="232,168,686,192">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/class_e_o.html" alt="EO< MOEOObjectiveVector >" shape="rect" coords="232,112,686,136">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_object.html" alt="eoObject" shape="rect" coords="0,56,454,80">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_persistent.html" alt="eoPersistent" shape="rect" coords="464,56,918,80">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_printable.html" alt="eoPrintable" shape="rect" coords="464,0,918,24">
|
|
</map>
|
|
<a href="classmoeoBitVector-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="classmoeoBitVector.html#959ae6d2acf91467142366049a0b6121">moeoBitVector</a> (unsigned int _size=0, bool _value=false)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <a href="#959ae6d2acf91467142366049a0b6121"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBitVector.html#78f821c548cf46d8bcd30aa8a52ffb7c">printOn</a> (std::ostream &_os) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Writing object. <a href="#78f821c548cf46d8bcd30aa8a52ffb7c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBitVector.html#31cd3f894615d0a27dd116a5c8082521">readFrom</a> (std::istream &_is)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reading object. <a href="#31cd3f894615d0a27dd116a5c8082521"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class MOEOObjectiveVector, class MOEOFitness, class MOEODiversity><br>
|
|
class moeoBitVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity ></h3>
|
|
|
|
This class is an implementationeo of a simple bit-valued <a class="el" href="classmoeoVector.html">moeoVector</a>.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoBitVector_8h-source.html#l00022">22</a> of file <a class="el" href="moeoBitVector_8h-source.html">moeoBitVector.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="959ae6d2acf91467142366049a0b6121"></a><!-- doxytag: member="moeoBitVector::moeoBitVector" ref="959ae6d2acf91467142366049a0b6121" args="(unsigned int _size=0, bool _value=false)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOObjectiveVector, class MOEOFitness, class MOEODiversity> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoBitVector.html">moeoBitVector</a>< MOEOObjectiveVector, MOEOFitness, MOEODiversity >::<a class="el" href="classmoeoBitVector.html">moeoBitVector</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>_size</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>_value</em> = <code>false</code></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>
|
|
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>_size</em> </td><td>Length of vector (default is 0) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_value</em> </td><td>Initial value of all elements (default is default value of type GeneType) </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoBitVector_8h-source.html#l00037">37</a> of file <a class="el" href="moeoBitVector_8h-source.html">moeoBitVector.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="78f821c548cf46d8bcd30aa8a52ffb7c"></a><!-- doxytag: member="moeoBitVector::printOn" ref="78f821c548cf46d8bcd30aa8a52ffb7c" args="(std::ostream &_os) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOObjectiveVector, class MOEOFitness, class MOEODiversity> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void <a class="el" href="classmoeoBitVector.html">moeoBitVector</a>< MOEOObjectiveVector, MOEOFitness, MOEODiversity >::printOn </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::ostream & </td>
|
|
<td class="paramname"> <em>_os</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Writing object.
|
|
<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>_os</em> </td><td>output stream </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Reimplemented from <a class="el" href="classmoeoVector.html#d0a92cb26483ffab754ac4a0efb76308">moeoVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity, bool ></a>.
|
|
<p>
|
|
Definition at line <a class="el" href="moeoBitVector_8h-source.html#l00045">45</a> of file <a class="el" href="moeoBitVector_8h-source.html">moeoBitVector.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="31cd3f894615d0a27dd116a5c8082521"></a><!-- doxytag: member="moeoBitVector::readFrom" ref="31cd3f894615d0a27dd116a5c8082521" args="(std::istream &_is)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOObjectiveVector, class MOEOFitness, class MOEODiversity> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void <a class="el" href="classmoeoBitVector.html">moeoBitVector</a>< MOEOObjectiveVector, MOEOFitness, MOEODiversity >::readFrom </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::istream & </td>
|
|
<td class="paramname"> <em>_is</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Reading object.
|
|
<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>_is</em> </td><td>input stream </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Reimplemented from <a class="el" href="classmoeoVector.html#cd8ee0fe79bb9515b29e2a4d3fee5ab9">moeoVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity, bool ></a>.
|
|
<p>
|
|
Definition at line <a class="el" href="moeoBitVector_8h-source.html#l00058">58</a> of file <a class="el" href="moeoBitVector_8h-source.html">moeoBitVector.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="moeoBitVector_8h-source.html">moeoBitVector.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 26 15:13:04 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.4.7 </small></address>
|
|
</body>
|
|
</html>
|