paradiseo/trunk/paradiseo-eo/doc/html/eo_data_8h-source.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

45 lines
3.7 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: eoData.h Source File</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>
<div class="nav">
<a class="el" href="dir_000000.html">src</a>&nbsp;/&nbsp;<a class="el" href="dir_000011.html">utils</a></div>
<h1>eoData.h</h1><div class="fragment"><pre class="fragment">00001
00024 <span class="preprocessor">#ifndef EODATA_H</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define EODATA_H</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#ifndef _MSC_VER</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#include &lt;math.h&gt;</span>
00029 <span class="preprocessor">#define _isnan isnan</span>
00030 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00031 <span class="preprocessor"></span>
00032
00033 <span class="comment">//-----------------------------------------------------------------------------</span>
00034 <span class="comment">// some defines to make things easier to get at first sight</span>
00035
00036 <span class="comment">// tuning the amount of output using a boolean argument:</span>
00037 <span class="comment">// true should always mean more output</span>
00038 <span class="preprocessor">#define eo_verbose true</span>
00039 <span class="preprocessor"></span><span class="preprocessor">#define eo_no_verbose false</span>
00040 <span class="preprocessor"></span><span class="comment">// to be used in selection / replacement procedures to indicate whether</span>
00041 <span class="comment">// the argument (rate, a double) shoudl be treated as a rate (number=rate*popSize)</span>
00042 <span class="comment">// or as an absolute integer (number=rate regardless of popsize).</span>
00043 <span class="comment">// the default value shoudl ALWAYS be true (eo_as_a_rate).</span>
00044 <span class="comment">//</span>
00045 <span class="comment">// this construct is mandatory because in some cases you might not know the</span>
00046 <span class="comment">// population size that will enter the replacement for instance - so you</span>
00047 <span class="comment">// cannot simply have a pre-computed (double) rate of 1/popSize</span>
00048 <span class="preprocessor">#define eo_is_a_rate true</span>
00049 <span class="preprocessor"></span><span class="preprocessor">#define eo_is_an_integer false</span>
00050 <span class="preprocessor"></span>
00051 <span class="preprocessor">#endif</span>
00052 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:34 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>