Commit graph

9 commits

Author SHA1 Message Date
Caner Candan
56c6edab04 * indentations + whitespace cleanup 2011-05-05 16:54:00 +02:00
kuepper
28e59ff064 eoRNG.h (eoRng::random): Add comment on truncation as standard way of
floating point to integer conversion.
2007-08-22 07:30:47 +00:00
kuepper
dbdeaf3353 (eoRng::normal(stdev)): Revert erroneous change. 2006-12-04 21:55:31 +00:00
kuepper
7baf7cb799 * eoTimedMonitor.h (eoTimedMonitor::seconds): Make unsigned.
* eoRNG.cpp, eoRNG.h (K, M, N): Declare static and initialize in cpp.

* t-eoGenOp.cpp (init): Do not add std::ends to end of string, as this
results in escape-codes (^@) to be printed at runtime and is not
necessary anyway.

* test/t-eoSymreg.cpp (SymregNode::operator()): Initialize r1 and r2 to
avoid compiler warnings.
2006-12-02 10:18:57 +00:00
kuepper
da50bf0986 * eoRNG.h: Cleanup docs and document /all/ members.
* eoRNG.cpp, eoRNG.h (K, M, N): Declare static and initialize in cpp.
2006-12-02 09:39:13 +00:00
kuepper
e222eacd74 Use C++ style cast. 2006-12-01 20:40:54 +00:00
kuepper
b2ce7bedb6 * Makefile.am: Update for release-distribution.
* Makefile.am: Add missing CMA header for distribution.

* Makefile.am: Add missing header for distribution.
2006-12-01 20:08:51 +00:00
kuepper
532aec85e5 Generally include <cmath> 2006-11-29 23:37:29 +00:00
kuepper
d7b935b645 * make_genotype_real.h (eoEsChromInit): Rewrite vecSigmaInit-handling:
If sigmaInit is relative (%), do not read vecSigmaInit. Otherwise
always use vecSigmaInit with default all values of sigmaInit.

* eoParser.h (eoParser::getORcreateParam): Make this a real if-then-else
clause around ptParam (found or not).

* eoParam.h (eoValueParam::setValue): Document.
(eoValueParam<std::vector<double> >::setValue): Allow delimiters ',' and
';'. A plain ' ' does not work, as it is not correctly read by
eoParser::readFrom.
2006-11-16 12:35:46 +00:00