git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
172 lines
11 KiB
HTML
172 lines
11 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: eoIntNoBounds Class 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>eoIntNoBounds Class Reference</h1>A default class for unbounded variables.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_int_bounds_8h-source.html">eoIntBounds.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for eoIntNoBounds:
|
|
<p><center><img src="classeo_int_no_bounds.png" usemap="#eoIntNoBounds_map" border="0" alt=""></center>
|
|
<map name="eoIntNoBounds_map">
|
|
<area href="classeo_int_bounds.html" alt="eoIntBounds" shape="rect" coords="0,112,97,136">
|
|
<area href="classeo_persistent.html" alt="eoPersistent" shape="rect" coords="0,56,97,80">
|
|
<area href="classeo_printable.html" alt="eoPrintable" shape="rect" coords="0,0,97,24">
|
|
</map>
|
|
<a href="classeo_int_no_bounds-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"><a class="anchor" name="a1" doxytag="eoIntNoBounds::isBounded"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a1">isBounded</a> (void) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Self-Test: true if ***both*** a min and a max. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoIntNoBounds::hasNoBoundAtAll"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a2">hasNoBoundAtAll</a> (void) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Self-Test: true if no min ***and*** no max hence no further need to test/truncate/fold anything. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoIntNoBounds::isMinBounded"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a3">isMinBounded</a> (void) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Self-Test: bounded from below??? <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoIntNoBounds::isMaxBounded"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a4">isMaxBounded</a> (void) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Self-Test: bounded from above??? <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoIntNoBounds::foldsInBounds"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a5">foldsInBounds</a> (double &) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Put value back into bounds - by folding back and forth. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="eoIntNoBounds::truncate"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a6">truncate</a> (double &) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Put value back into bounds - by truncating to a boundary value. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="eoIntNoBounds::isInBounds"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a7">isInBounds</a> (double) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test on a value: is it in bounds? <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8" doxytag="eoIntNoBounds::minimum"></a>
|
|
virtual long int </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a8">minimum</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get minimum value ::exception if does not exist <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9" doxytag="eoIntNoBounds::maximum"></a>
|
|
virtual long int </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a9">maximum</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get maximum value ::exception if does not exist <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a10" doxytag="eoIntNoBounds::range"></a>
|
|
virtual long int </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a10">range</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get range ::exception if unbounded <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a11" doxytag="eoIntNoBounds::uniform"></a>
|
|
virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a11">uniform</a> (<a class="el" href="classeo_rng.html">eoRng</a> &_rng=eo::rng) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">random generator of uniform numbers in bounds uses same naming convention than eo::rng ::exception if unbounded <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a12" doxytag="eoIntNoBounds::random"></a>
|
|
virtual long int </td><td class="memItemRight" valign="bottom"><b>random</b> (<a class="el" href="classeo_rng.html">eoRng</a> &_rng=eo::rng) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a13">readFrom</a> (std::istream &_is)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read object. <a href="#a13"></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="classeo_int_no_bounds.html#a14">printOn</a> (std::ostream &_os) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write object. <a href="#a14"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a15" doxytag="eoIntNoBounds::dup"></a>
|
|
virtual <a class="el" href="classeo_int_bounds.html">eoIntBounds</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_int_no_bounds.html#a15">dup</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">for memory managements - ugly <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
A default class for unbounded variables.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_int_bounds_8h-source.html#l00153">153</a> of file <a class="el" href="eo_int_bounds_8h-source.html">eoIntBounds.h</a>.<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="a13" doxytag="eoIntNoBounds::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" nowrap valign="top">virtual void eoIntNoBounds::readFrom </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">std::istream & </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>_is</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Read 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>A std::istream. but reading should not be done here, because of bound problems see eoIntVectorBounds </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classeo_persistent.html#a1">eoPersistent</a>.
|
|
<p>
|
|
Definition at line <a class="el" href="eo_int_bounds_8h-source.html#l00195">195</a> of file <a class="el" href="eo_int_bounds_8h-source.html">eoIntBounds.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a14" doxytag="eoIntNoBounds::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" nowrap valign="top">virtual void eoIntNoBounds::printOn </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">std::ostream & </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>_os</em> </td>
|
|
<td class="md" valign="top"> ) </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>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Write object.
|
|
<p>
|
|
It's called printOn since it prints the object on a stream. <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>A std::ostream. </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classeo_printable.html#a1">eoPrintable</a>.
|
|
<p>
|
|
Definition at line <a class="el" href="eo_int_bounds_8h-source.html#l00204">204</a> of file <a class="el" href="eo_int_bounds_8h-source.html">eoIntBounds.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="eo_int_bounds_8h-source.html">eoIntBounds.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:50 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>
|