Commit graph

383 commits

Author SHA1 Message Date
marcello-ptr
d706968c31 logger outbuf not initialized when ostream ctor is called
A crash happens on the static initialization of eoLogger eo::log;
at the end of the file eoLogger.cpp (line 255)

The reason is that the ctor used to initialize the std::eostream base class of
eoLogger is invoked with an _obuf argument while _obuf has not been initialized
already.

The solution is to call the function
std::ostream::init(&_obuf)
after the ctor initalizer list, i.e. inside the body ctor.
2013-01-04 17:09:06 +01:00
marcello-ptr
6ae4d1e7e5 adjustments in compatibility.h for vs2010 and STLPort
Higher _MSC_VER.

The definitions of std::min and std::max workarounds
should be enclosed within _STLP_INTERNAL_ALGOBASE_H
because STLPort provides the fix already.
2013-01-04 16:06:06 +01:00
canape
a3c6c8c16e regression: local/local 2013-01-02 11:47:17 +01:00
Johann Dreo
188d1b4c56 REMOVE the generic fitness templates in eoSecondMomentStats in favor of scalar ones ; comment out old unused code 2012-11-23 16:52:35 +01:00
Johann Dreo
740275b31a more generic eoSecondMomentStats: use EOT::Fitness instead of double 2012-11-22 14:47:13 +01:00
Johann Dreo
06ff0b682b fix build system : make eo/edo tests work 2012-10-07 19:48:15 +02:00
Johann Dreo
8a81bd2191 update the build system: only basic build works 2012-10-06 01:08:59 +02:00
quemy
63f2852ffc backport the new build system from eo/ 2.0 to the merged eo/ 2012-10-05 20:34:59 +02:00
Johann Dreo
c2d663f495 make the converting constructor of the eoLogger helper classes explicits (avoid warnings about ambiguousus conversions on ostream streams operators) 2012-10-01 15:28:27 +02:00
Johann Dreo
b83372b57b Add a stat to keep the best individual found so far, even for non-monotonic algorithms 2012-09-06 16:05:00 +02:00
Benjamin Bouvier
b31c520eba Removed all remaining warnings at compilation 2012-07-27 15:22:23 +02:00
Johann Dreo
36f30db313 manual merge on eoPop.h 2012-07-26 16:29:34 +02:00
Benjamin Bouvier
66d56bd1d8 Serialized eoTimer with eoserial module. 2012-07-24 18:03:50 +02:00
Johann Dreo
afd02eeb37 manual merge: deactivate t-eoParallel, that depends on OpenMP, whatever the build options 2012-07-16 15:15:42 +02:00
Benjamin Bouvier
e7a48b8afb Using dynamic scheduling by default 2012-07-12 19:15:52 +02:00
Benjamin Bouvier
d711369f12 Correctly handling remainders when using eoTimer. 2012-07-12 14:17:51 +02:00
Benjamin Bouvier
60fff427fe Documentation of serialization, utils/eoTimer and eoPopEvalFunc. 2012-07-12 13:56:54 +02:00
Benjamin Bouvier
4ab5b2fd89 Taking time measures only if parallel.doMeasure() is true. 2012-07-11 11:41:10 +02:00
Benjamin Bouvier
d805800731 Added packet size to parallel parser and default argument to static assignment. 2012-07-11 10:03:53 +02:00
Johann Dreo
ea8da0e965 manual merge eompi 2012-07-10 18:00:25 +02:00
nojhan
5827444774 Comment out deprecated stuff and fix corresponding tests
This may break your code if you did not pay attention to warnings in the previous release, the old code is still here in
case you want to understand what's going on.
2012-07-06 20:48:18 +02:00
Joost
b01c7ac0f0 include omp.h only if _OPENMP is defined 2012-07-06 20:33:58 +02:00
nojhan
07fede786f Merge branch 'master' of ssh://eodev.git.sourceforge.net/gitroot/eodev/eodev 2012-07-06 18:25:15 +02:00
Benjamin Bouvier
2861fc98de Mesuring time with eoTimer. 2012-06-27 15:09:12 +02:00
Caner Candan
46b3f77d9c * make_checkpoint.h: added --monitor_with_CtrlC option in order to monitor only when Ctrl-C is pressed 2012-06-22 17:41:46 +02:00
Caner Candan
afc0bb6f9b + eoSignal: to handle signal with eoCheckpoint instances 2012-06-22 15:37:51 +02:00
Caner Candan
5c85bbdede * eoStdoutMonitor.h: warning message should be disabled 2012-06-22 15:35:16 +02:00
Caner Candan
f962a7942b * we can now disable deprecated messages 2012-06-17 21:01:16 +02:00
Caner Candan
a183a1c6d1 * make_op.h, eoLogger.cpp: disabled not used variables. should I remove them ? 2012-06-14 15:30:41 +02:00
Caner Candan
138706d125 * checkpoint main header file: just added license and multi-inclusion protection 2012-06-14 01:06:38 +02:00
Caner Candan
0d92a48d89 + added eoFunctorStat class 2012-06-14 01:05:27 +02:00
nojhan
851d1278f5 missing assert.h header in eoState 2012-05-09 11:45:56 +02:00
nojhan
f7b9db1358 generilaze the output of an eoState : now you can change the format, comes with defaults formatting (latex and json) 2012-04-16 11:28:47 +02:00
nojhan
28fedd3c51 added a deprecated pragma message to eoOStreamMonitor 2012-03-31 17:49:41 +02:00
nojhan
8c121bdafb added an new exception to handle cases where a wrong template is given to eoParser::valueOf 2012-03-31 17:48:55 +02:00
nojhan
1bc2c5cc46 added the 'value' method to eoParser, so as to permits a direct access to the value stored within the eovalueParam corresponding to a given param name 2012-03-26 18:18:45 +02:00
nojhan
0808c52bf8 removed a (funny but wontfix notabug) old comment in eoParser 2012-03-15 18:15:23 +01:00
nojhan
7e7a47c9ba added a getParam method to the eoParser, that raise an exception if the parameter has not been declared 2012-03-15 18:14:04 +01:00
Caner Candan
a6c8b9733c * doc: badly named name of eoOneBitFlip, added eoBooleanGenerator in bitstring group 2012-03-06 21:55:54 +01:00
nojhan
5115deb7dd an eoStat that simply count generations 2011-12-12 22:22:04 +01:00
nojhan
ccd77037ec bugfix: IQR should not be negative (oups :-) 2011-11-29 15:06:19 +01:00
nojhan
b04a66aaea Note: normal rng use the Marsaglia polar method 2011-11-09 15:49:04 +01:00
nojhan
5c7f3835f2 be sure that we fill the line with space when saving the status file 2011-10-10 21:11:03 +02:00
nojhan
59448b9635 more doc on the parser format 2011-10-04 21:43:53 +02:00
nojhan
ae919bc712 shortcut to get a param value 2011-10-02 22:22:18 +02:00
nojhan
1c4cdae663 use the logger to print warnings 2011-10-02 15:44:51 +02:00
Caner Candan
8567bc5d28 * eoLogger: overidded ctor in order to define a file to dump 2011-07-22 11:10:25 +02:00
nojhan
0ce639e13a beautify the output of sections: no caps in parenthesis and space before colon 2011-07-01 10:52:44 +02:00
nojhan
367ad7fbe5 beautify the output of sections when help is called: upper case names and line padding 2011-07-01 10:37:13 +02:00
Caner Candan
65b62e9015 + utils/eoParserLogger.h: added deprecated class with a warning message 2011-05-12 10:39:36 +02:00