Commit graph

242 commits

Author SHA1 Message Date
tlegrand
1613342bcf deleted cxx flags for cl compiler. They have been moved to the CMakeLists.txt at the top level 2008-02-14 08:23:16 +00:00
tlegrand
5ee50170b0 added definition _WINDOWS for (mingw and others) compatibility 2007-11-26 07:56:08 +00:00
tlegrand
112b34bceb Completed CMake config 2007-09-18 15:12:22 +00:00
maartenkeijzer
2b303560fa added eoFuncPtrStat, and appended various addTo member functions for more elegant definition of monitors, stats, checkpoints, etc 2007-09-05 13:52:17 +00:00
maartenkeijzer
cb85c19259 added eoFuncPtrStat, and appended various addTo member functions for more elegant definition of monitors, stats, checkpoints, etc 2007-09-05 11:36:44 +00:00
maartenkeijzer
fe9fe17eb6 removed const qualifier from choice() member 2007-09-04 13:44:02 +00: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
ac601df371 Correctly round towards zero in random(uint32_t) 2007-08-21 14:47:14 +00:00
kuepper
2bbd2e0d80 Fix typos 2007-08-21 13:58:53 +00:00
tlegrand
952bf0a1d8 added #define _MSC_VER_ for windows compatibility 2007-08-10 14:30:26 +00:00
tlegrand
89047a3db6 added CMake configuration files 2007-08-10 14:29:12 +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
bcaa0cf5e4 minor cleanup of code and docs,
resolve some compiler warnings
2006-12-01 10:49:47 +00:00
okoenig
4c76c89592 Replaced float vars with double to avoid conversion warnings on VS 8.0 2006-12-01 08:42:54 +00:00
kuepper
532aec85e5 Generally include <cmath> 2006-11-29 23:37:29 +00:00
jeggermo
219e9bd648 Changed some files for compatibility with MSVC 2003 and 2005 2006-11-20 13:25:46 +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
kuepper
10d582b31d Fix using directives for gcc-4.1 2006-03-27 18:55:20 +00:00
kuepper
5c913192e9 Update docs, some cleanup 2006-03-26 10:04:01 +00:00
evomarc
14c3182200 Removed the "using eoMonitor::vec from eoGnuplot1DMonitor.h because it generated
an internal compiler error with gcc4.0.0.
Repalced all occurences of "vec" by "this->vec" in eoGnuplot1DMonitor.cpp
so it is understood by the compiler :-(
2005-11-08 11:34:12 +00:00
evomarc
e07c504571 Removed extra colon (;) at end of class definitions.
They didn't hurt until gcc 3.4.1 but then they generated an error!
2005-11-08 11:31:01 +00:00
maartenkeijzer
dd81a3ebc8 added timed monitor 2005-10-14 15:33:16 +00:00
kuepper
4510b6d712 cleanup, prepare vecSigmaInit change 2005-10-10 21:42:31 +00:00
evomarc
800a62ae34 Added an accessor to the pointsize, for do_make_checkpoint_pareto 2005-10-10 13:33:13 +00:00
kuepper
e318a65aa3 cleanup 2005-10-05 21:48:01 +00:00
kuepper
ced022186e comments 2005-10-05 21:40:53 +00:00
kuepper
afc0659e35 finish the handling of gnuplot completely at build-time.
No gnuplot-ifs in headers anymore.
2005-10-05 21:34:19 +00:00
kuepper
4bfc3afe9b *** empty log message *** 2005-10-03 12:54:45 +00:00
kuepper
1f0ba7fab6 fix foe gnuplot configuration-switch usage 2005-10-02 21:57:43 +00:00
kuepper
47af7cfe5a Clean up configure/build-process.
- assume C++ standard-conforming environment
- add a user-option for gnuplot-support
- separate gnuplot-code into declaration and implementation,
  so we can define at EO-build-time whether to use it or not.

Adopt code and Makefiles to above changes.

Some minor fixes.
2005-10-02 21:42:08 +00:00
kuepper
88ebd6ffc1 update for solaris-x86 2005-10-01 14:25:29 +00:00
kuepper
12f80ea291 Include inttypes.h if available but stdint.h is not.
Add powerpc success.
2005-10-01 14:00:42 +00:00
kuepper
cf2a57dd88 Simplify configuration.
Remove support for (outdated) <strstream>, require <sstream>.
Require uint32_t for now, defined in stdint.h according to C99.
Some general cleanup and more documentation.
2005-09-28 21:49:26 +00:00
maartenkeijzer
c73cc51ab9 Removed wrong reference to rng from choice members (what was I thinking?) 2005-09-26 11:22:47 +00:00
kuepper
6e0c4a7264 Make sure uint32_t is defined correctly in eoRNG.h and use it where
appropriate.
2005-09-26 10:18:15 +00:00
maartenkeijzer
462fbaad66 Added few convenience functions 2005-09-25 19:32:10 +00:00
maartenkeijzer
cbfff8fda9 Added choice functions, plus rolled back inadvertant chance to eoRNG 2005-09-25 19:09:38 +00:00
kuepper
a3a9010e9a setORcreate returns it parameter. 2005-09-13 10:24:50 +00:00
kuepper
438e8ef6d6 Use getORcreateParam instead of createParam when getting values from
the eoParser.
Update setORcreateParam.
2005-09-12 17:53:25 +00:00
maartenkeijzer
f948ccda3a eoRNG.h 2005-09-07 17:09:19 +00:00
kuepper
88a3a641c6 Provide virtual destructors as gcc-4 barks heavily otherwise 2005-09-05 16:47:53 +00:00
kuepper
f0fd15f20c Provide eoParser::setORcreateParam to set a paramter in the parser to
a specific value.
2005-08-29 07:50:50 +00:00
kuepper
5cd40b50ae include config.h 2005-01-03 09:35:39 +00:00
evomarc
fbdc899585 Added the explicit calls to the base class ctors in eoXXXGeneralBounds copy Ctors 2004-12-27 07:33:03 +00:00
evomarc
8c36a1274b Fixed some int - unsigned int problem for the case "combien < 0" 2004-12-27 07:31:59 +00:00
kuepper
85a326c5e4 Adjust code to perform to C++ standard according to gcc-3.4
interpretation... (Have not compiled/checked/changed paradisEO.)

That is, the current code compiles with gcc-3.4 and the checks
(besides t-MGE1bit) all pass.
2004-12-23 15:29:07 +00:00