paradiseo/trunk/paradiseo-eo/doc/html/classeo_bit.html
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

201 lines
9.4 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: eoBit&lt; FitT &gt; 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&nbsp;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&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>eoBit&lt; FitT &gt; Class Template Reference<br>
<small>
[<a class="el" href="group__bitstring.html">Bitstring</a>,&nbsp;<a class="el" href="group__bitstring.html">Bitstring</a>]</small>
</h1>Implementation of bitstring chromosome.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_bit_8h-source.html">ga/eoBit.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoBit&lt; FitT &gt;:
<p><center><img src="classeo_bit.png" usemap="#eoBit< FitT >_map" border="0" alt=""></center>
<map name="eoBit< FitT >_map">
<area href="classeo_vector.html" alt="eoVector< FitT, bool >" shape="rect" coords="152,168,294,192">
<area href="class_e_o.html" alt="EO< FitT >" shape="rect" coords="76,112,218,136">
<area href="classeo_object.html" alt="eoObject" shape="rect" coords="0,56,142,80">
<area href="classeo_persistent.html" alt="eoPersistent" shape="rect" coords="152,56,294,80">
<area href="classeo_printable.html" alt="eoPrintable" shape="rect" coords="152,0,294,24">
</map>
<a href="classeo_bit-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_bit.html#a0">eoBit</a> (unsigned size=0, bool value=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(Default) Constructor. <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoBit::className"></a>
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_bit.html#a1">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">My class name. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_bit.html#a2">printOn</a> (std::ostream &amp;os) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">To print me on a stream. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_bit.html#a3">readFrom</a> (std::istream &amp;is)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">To read me from a stream. <a href="#a3"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class FitT&gt;<br>
class eoBit&lt; FitT &gt;</h3>
Implementation of bitstring chromosome.
<p>
Based on STL's vector&lt;bool&gt; specialization.
<p>
<p>
Definition at line <a class="el" href="eo_bit_8h-source.html#l00056">56</a> of file <a class="el" href="eo_bit_8h-source.html">eoBit.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="eoBit::eoBit"></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&lt;class FitT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classeo_bit.html">eoBit</a>&lt; <a class="el" href="classeo_scalar_fitness.html">FitT</a> &gt;::<a class="el" href="classeo_bit.html">eoBit</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">unsigned&nbsp;</td>
<td class="mdname" nowrap> <em>size</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap> <em>value</em> = <code>false</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
(Default) Constructor.
<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>&nbsp;</td><td>Size of the binary std::string. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_bit_8h-source.html#l00069">69</a> of file <a class="el" href="eo_bit_8h-source.html">eoBit.h</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2" doxytag="eoBit::printOn"></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&lt;class FitT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">virtual void <a class="el" href="classeo_bit.html">eoBit</a>&lt; <a class="el" href="classeo_scalar_fitness.html">FitT</a> &gt;::printOn </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::ostream &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>os</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
To print me on a stream.
<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>&nbsp;</td><td>The std::ostream. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classeo_vector.html#a4">eoVector&lt; FitT, bool &gt;</a>.
<p>
Definition at line <a class="el" href="eo_bit_8h-source.html#l00082">82</a> of file <a class="el" href="eo_bit_8h-source.html">eoBit.h</a>.
<p>
References <a class="el" href="_e_o_8h-source.html#l00129">EO&lt; F &gt;::printOn()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3" doxytag="eoBit::readFrom"></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&lt;class FitT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">virtual void <a class="el" href="classeo_bit.html">eoBit</a>&lt; <a class="el" href="classeo_scalar_fitness.html">FitT</a> &gt;::readFrom </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::istream &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>is</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
To read me from a stream.
<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>&nbsp;</td><td>The std::istream. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classeo_vector.html#a5">eoVector&lt; FitT, bool &gt;</a>.
<p>
Definition at line <a class="el" href="eo_bit_8h-source.html#l00094">94</a> of file <a class="el" href="eo_bit_8h-source.html">eoBit.h</a>.
<p>
References <a class="el" href="_e_o_8h-source.html#l00105">EO&lt; F &gt;::readFrom()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_bit_8h-source.html">eoBit.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:45 2006 for EO by&nbsp;
<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>