1cdb134ee2
feat: add a binomial distribution to eo::rng
...
Note: use the most naive algorithm, should be a rejection one.
2020-07-05 18:00:51 +02:00
9d3c848dfb
fix even more warnings and reduce some tests runtimes
...
tested under gcc and clang
2020-04-28 17:41:50 +02:00
24bc8edd6f
fix new warnings and escape apply namespace
...
- `std::apply` is part of C++17 and the compiler wants to use it because
of ADL. Thus it is now necessary to escape it as `::apply`.
- remove some `using namespace std` remaining in the sources.
- fix simple warnings.
2020-04-28 15:56:14 +02:00
dff32c9a96
fix: get rid of the old "register" keyword in eoRng
2020-04-22 08:00:56 +02:00
ee5e1a36f6
fix: doc and warnings
2020-04-22 08:00:28 +02:00
78be884270
fix wrong licenses
2020-04-12 10:10:53 +02:00
1fdd977408
fix: use distance instead of hoping for pointers arithmetics
...
just in case
2020-03-29 17:41:52 +02:00
eba2e14950
use eoExceptions everywhere
2020-03-27 00:48:23 +01:00
3b01169726
refactor exceptions and exceptions hierarchy
2020-03-26 07:53:23 +01:00
0332920d63
several fix of minor warnings
2020-03-25 14:46:23 +01:00
193ea83eb3
feat: add a way to print a message at each stop criterion call
2020-03-24 23:01:06 +01:00
98501e0dd4
feat: add an algo that manage restarts
...
Reset the pop for you, then call the algo, until continue.
2020-03-24 18:25:25 +01:00
ab740b2a72
add a monitor to print on eo::log at given level
...
- add eoTimedMonitor missing header
2020-03-24 16:27:58 +01:00
c8121c788d
make_checkpoint writes stats on clog by default
...
Allow for separating logs from output of an algorithm.
2020-03-11 11:39:38 +01:00
67aaf8b025
add option to exit after make_help + fix exit code
...
- Defaults to previous behaviour, which was to exit.
- Fix the returned exit code: was 1, but should be 0, as asking for help
is not an error.
2020-03-10 09:12:39 +01:00
2da161fc85
update eoRNG to fit C++17 standard
...
ISO C++17 does not allow 'register' storage class specifier
2020-03-10 09:11:16 +01:00
90c3e8ffa1
refactor: expose a eoHowMany::value function
2019-12-10 11:27:35 +01:00
728bc6e897
feat: get a param handle from its name
...
Useful for introspection and dynamic parameter management.
2019-12-10 11:26:09 +01:00
Ronaldd Pinho
aa5dbe82c6
Use relative includes in headers and absolute in code
...
- relative includes in headers
- absolute includes in exe code
- include sstream lib in eoExceptions.h
- fix ga/make_op_ga.cpp
- fix eoSGATransform.h
2019-12-06 15:15:22 +01:00
d83681d6fa
add cmake export to all targets & bugfix Find module
...
- Add "EXPORT paradiseo-targets" to cmake's "install" commands.
- Export those targets in "paradiseo-config.cmake",
which is needed by FindParadiseo.cmake script.
- Bugfix "FindParadiseo.cmake" script:
- document PARADISEO_ROOT input,
- add PARADISEO_DIR to specify a bin dir (try build, debug and release as defaults),
- bugfix bad copy pastes involving edo and peo,
- default messages only for eo, mo and meo.
2019-09-29 21:14:30 +02:00
verel
dbb8fbe9a7
Correction of the bug in the constructor of eoValueParam l170: numOfDigits is set before reading the value with getValue().
2014-12-31 10:36:20 +01:00
verel
eb8f1e99a9
Add precision in the output of the eoValueParam.h
2014-11-09 15:17:41 +01:00
verel
edefae4b28
Small modif in moIndexedSwapNeighbor
2014-06-25 17:02:38 +02:00
Johann Dreo
6f4ecc603b
bugfix correct asserts for nth element stat
2013-06-13 16:28:51 +02:00
Johann Dreo
c6868cf494
bugfix: correct nth position in nth element stat
2013-06-13 16:25:32 +02:00
Johann Dreo
966a5670cb
Add an option to print names in front of values in stream monitor
2013-06-13 15:41:03 +02:00
Johann Dreo
0c82be47df
Add an Nth element stat to compute median without sorting the pop
2013-06-13 14:50:08 +02:00
Johann Dreo
819c2c3106
[COMPATIBILITY] Remove a unused parameter in eoInterquartileRangeStat constructor
2013-06-13 14:49:08 +02:00
Johann Dreo
8679da695c
Add a reference to the template type in eoStat
2013-06-13 14:48:40 +02:00
Johann Dreo
f4b71dffad
Add a warning when computing stat in empty pop
2013-06-13 14:48:00 +02:00
Johann Dreo
b619a85718
bugfix: do not allow null interval in hypervolume diff metric
2013-06-06 11:43:34 +02:00
Johann Dreo
150333ef7c
bugfix: include nessary headers for eoRealBounds
2013-04-30 15:56:24 +02:00
Johann Dreo
7a4bc3e6d3
eoRealInterval better error handling
...
Replace a logic exception in eoRealInterval by an assert.
Add a warning in debug mode when the range is null.
2013-04-30 12:02:16 +02:00
Johann Dreo
e34eb842f1
Add a parser accessor to check if a given param long name has beer asked
2013-04-03 13:51:33 +02:00
Benj Bouv
070d23de78
eo: eoTimerStat becomes serializable by default
2013-01-30 22:40:41 +01:00
Benj Bouv
70397c5ac8
Merge remote-tracking branch 'eodev/master' into mpi-exp
2013-01-30 19:29:36 +01:00
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
Benjamin BOUVIER
bd9767a05d
Timer: force measures to be retrieved even if parallel.doMeasure() isn't set.
2012-10-01 23:26:21 -04:00
Benjamin BOUVIER
7fe2bc587a
eoRNG: added a clearCache() function for cleaning the normal() cached value
2012-10-01 22:23:07 -04: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
Benjamin BOUVIER
9d4742c995
TimerStat: better precision for wallclock time.
2012-09-18 22:03:07 -04:00
Benjamin BOUVIER
aa5e8bf6f3
Added method clean for eoTimerStat
2012-09-18 20:50:26 -04: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