Commit graph

2,044 commits

Author SHA1 Message Date
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
124701a364 expose ScalarType in eoScalarFitness 2020-03-10 09:12:01 +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
6232ff2f21 add eoEvalNamedPipe
- a class to connect an external objective function through file(s)
- fix doc error in eoEvalCmd
2020-03-08 21:44:42 +01:00
9623f4d1f8 add missing eoEval* headers in <eo> 2020-02-09 07:09:53 +01:00
2f5a00a7ac fix: eoEvalCmd use serialized input for the fitness instead of atof 2020-02-09 05:43:32 +01:00
ccb4b3787b add eoEvalCmd, an eval that call a system command 2020-02-08 16:34:34 +01:00
9056ed8989 add an eoSystemError exception
- make members const in eoException.h classes
2020-02-06 21:55:12 +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
be782f8cfb feat: add a sequential select that returns the best individual 2019-12-10 11:24:39 +01:00
9b887c83a6 feat: class to wrap a eoMonOp into a eoQuadOp 2019-12-10 11:20:54 +01:00
87d4f08258 eoBitOp feat: access to preference, fix: use doubles and swap
- Makes the `preference` member protected instead of private, which may
be used for algorithms managing their internal parameters during search.
- Replace float parameter with double, used everywhere else in the
framework.
- use std::swap instead of handmade swap.
2019-12-10 11:18:09 +01:00
e64417f2a5 BREAKING CHANGE: set standard to C++11, feat: accessor to breeder ops
Give an access to the operators held by a breeder.
This is needed to design algorithms that dynamically update their
internal parameters during search.
To simplify the interface, we use a returned tuple, and thus upgrade the
C++ standard to C++11.
2019-12-10 11:11:47 +01:00
646f20934e fix back some errors inserted by previous refactoring
- move PBIL classes in deprecated/, superseeded by the EDO module
2019-12-06 15:58:27 +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
ff322ba27b fix missing API update
- tutorial/Lesson3 was still using the old eoStdoutMonitor interface
2019-04-19 06:52:38 +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
be231d9129 Correction eo/tutorial/Lesson3 2014-10-28 14:09:19 +01:00
Arnaud Liefooghe
5f9689fc23 hypervolume pointers + doc 2014-10-06 14:51:37 +02:00
verel
edefae4b28 Small modif in moIndexedSwapNeighbor 2014-06-25 17:02:38 +02:00
verel
d3d88d4cc5 Add MPX crossover 2014-06-23 08:11:47 +02:00
quemy
e71dea0c5a Fix some warnings in eo and moeo. 2014-05-03 18:58:55 +02:00
quemy
b1c7e1f256 Wrapper on eoFitContinue in order to allow islands to stop as soon as an island found a good solution 2013-11-21 12:40:24 +01:00
Johann Dreo
161d137d50 Add templates types as members of the dual fitness 2013-06-21 09:51:25 +02:00
Johann Dreo
8340168ee8 BUGFIX: correct handling of initialization security in dual fitness
Remove the operator= overloads.
Represent badly initialized dual fitness by a "?" for the feasibility.
2013-06-20 13:48:28 +02:00
Johann Dreo
f8603acf3c bugfix: consider a dual fitness to be correctly initialized from a pair 2013-06-17 13:59:09 +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
eef624e3f6 Do not try to call dual stats on empty pop, print "?" instead 2013-06-13 16:25:00 +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
67e4bb01fd Use EOType as a ref to the template in stats 2013-06-13 14:45:51 +02:00
Johann Dreo
4af7f3d1bc Allow scalar init of dual fitness; add a pop splitter
Scalar init of a dual fitness is dangerous, thus adds an explicit security against use of a partially initialized
object.
Use the pop splitter in the dual stat switch and in the MOEO dual fitness assignment.
2013-06-13 09:48:39 +02:00
Johann Dreo
82ce471aef Add a warning in eoDualFitness comments 2013-06-11 13:28:51 +02:00
Johann Dreo
55a1783605 Use member arithmetic operators and friend stream operators in dual fitness 2013-06-11 09:23:16 +02:00
Johann Dreo
10ea97f78d More generic eoDualFitness
Allow an imitialization on a double only, BUT an assert fails if it is not 0.0
Remove friendship on operators, because there is two differerent templated classes declared later.
More operators with base types.
2013-06-07 17:32:30 +02:00
Johann Dreo
5af8359546 Merge branch 'fix/HVrange' 2013-06-07 12:53:53 +02:00
Johann Dreo
c9da01c70d Add missing arithmetic operators to eoDualFitness 2013-06-07 12:42:27 +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
defb8382bf Explicit iterator instead of auto, for old C++ compat 2013-04-30 16:05:29 +02:00
Johann Dreo
150333ef7c bugfix: include nessary headers for eoRealBounds 2013-04-30 15:56:24 +02:00
Johann Dreo
c424e9a123 Merge branch 'serial-new' of https://gforge.inria.fr/git/paradiseo/paradiseo 2013-04-30 12:04:50 +02:00
Johann Dreo
66ddb4a388 Merge branch 'master' of https://gforge.inria.fr/git/paradiseo/paradiseo 2013-04-30 12:04:34 +02:00