Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
124
trunk/paradiseo-eo/doc/html/classeo_vector.html
Normal file
124
trunk/paradiseo-eo/doc/html/classeo_vector.html
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
<!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: eoVector< FitT, GeneType > 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>eoVector< FitT, GeneType > Class Template Reference</h1>Base class for fixed length chromosomes, just derives from <a class="el" href="class_e_o.html">EO</a> and std::vector and redirects the smaller than operator to EO (fitness based comparison).
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="eo_vector_8h-source.html">eoVector.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for eoVector< FitT, GeneType >:
|
||||
<p><center><img src="classeo_vector.png" usemap="#eoVector< FitT, GeneType >_map" border="0" alt=""></center>
|
||||
<map name="eoVector< FitT, GeneType >_map">
|
||||
<area href="class_e_o.html" alt="EO< FitT >" shape="rect" coords="93,112,269,136">
|
||||
<area href="classeo_object.html" alt="eoObject" shape="rect" coords="0,56,176,80">
|
||||
<area href="classeo_persistent.html" alt="eoPersistent" shape="rect" coords="186,56,362,80">
|
||||
<area href="classeo_printable.html" alt="eoPrintable" shape="rect" coords="186,0,362,24">
|
||||
</map>
|
||||
<a href="classeo_vector-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="w0" doxytag="eoVector::AtomType"></a>
|
||||
typedef GeneType </td><td class="memItemRight" valign="bottom"><b>AtomType</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="w1" doxytag="eoVector::ContainerType"></a>
|
||||
typedef std::vector< GeneType > </td><td class="memItemRight" valign="bottom"><b>ContainerType</b></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_vector.html#a0">eoVector</a> (unsigned size=0, GeneType value=GeneType())</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <a href="#a0"></a><br></td></tr>
|
||||
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a1" doxytag="eoVector::eoVector"></a>
|
||||
template<class OtherFitnessType> </td></tr>
|
||||
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classeo_vector.html#a1">eoVector</a> (const <a class="el" href="classeo_vector.html">eoVector</a>< OtherFitnessType, GeneType > &_vec)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">copy ctor abstracting from the FitT <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoVector::value"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>value</b> (const std::vector< GeneType > &_v)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoVector::operator<"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_vector.html#a3">operator<</a> (const <a class="el" href="classeo_vector.html">eoVector</a>< <a class="el" href="classeo_scalar_fitness.html">FitT</a>, GeneType > &_eo) const </td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">to avoid conflicts between EO::operator< and std::vector<GeneType>::operator< <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoVector::printOn"></a>
|
||||
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_vector.html#a4">printOn</a> (std::ostream &os) const </td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">printing... <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoVector::readFrom"></a>
|
||||
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_vector.html#a5">readFrom</a> (std::istream &is)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">reading... <br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
<h3>template<class FitT, class GeneType><br>
|
||||
class eoVector< FitT, GeneType ></h3>
|
||||
|
||||
Base class for fixed length chromosomes, just derives from <a class="el" href="class_e_o.html">EO</a> and std::vector and redirects the smaller than operator to EO (fitness based comparison).
|
||||
<p>
|
||||
GeneType must have the following methods: void ctor (needed for the std::vector<>), copy ctor,
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="eo_vector_8h-source.html#l00046">46</a> of file <a class="el" href="eo_vector_8h-source.html">eoVector.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
||||
<a class="anchor" name="a0" doxytag="eoVector::eoVector"></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 FitT, class GeneType> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"><a class="el" href="classeo_vector.html">eoVector</a>< <a class="el" href="classeo_scalar_fitness.html">FitT</a>, GeneType >::<a class="el" href="classeo_vector.html">eoVector</a> </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">unsigned </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>GeneType </td>
|
||||
<td class="mdname" nowrap> <em>value</em> = <code>GeneType()</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>
|
||||
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> </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="eo_vector_8h-source.html#l00065">65</a> of file <a class="el" href="eo_vector_8h-source.html">eoVector.h</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="eo_vector_8h-source.html">eoVector.h</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:58 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue