Commit graph

95 commits

Author SHA1 Message Date
18fec047ad fix clang 10 compatibility
- random_shuffle is replaced by shuffle
- get rid of EO stuff in eoPop, superseeded by stdlib random
- get rid of bind2nd and use lambdas
2021-07-15 18:52:21 +02:00
0f4dbf3a13 fix template change of eoBooleanGenerator 2020-10-09 16:17:49 +02:00
da4118142f add some missing className 2020-10-09 13:33:43 +02:00
e975f0f388 fix eoDetSingleBitFlip num_bit setting
- remove the reference in the constructor, which is error prone because
not explicit.
- replace it with an explicit setter.
- add an assert to check that num_bit is consistent at call.
2020-10-07 15:53:36 +02:00
e2bf3ec3c0 allow eoBit to be templatized on its value type
This helps avoiding the infamous std::vector<bool> specialization,
which (wrongly) exchange space for speed.
2020-08-26 11:58:46 +02:00
efa6567359 add FastGA foundry and eoStandardBitMutation variants 2020-07-09 11:10:43 +02:00
75c2c6ab76 fix eoDetSingdeBitFlip: better algorithm
The old version was inefficient, using trial and errors.
This new version is a single pass algorithm.
2020-07-05 17:59:30 +02:00
ee5e1a36f6 fix: doc and warnings 2020-04-22 08:00:28 +02:00
a436fb3fa0 feat: add algo foundry and eval foundry
Necessary machinery to perform automatic algorithm selection
based on the grammar defined by EasyEA and
the vocabulary defined by sets of parametrized operators.
2020-03-30 17:37:04 +02:00
eba2e14950 use eoExceptions everywhere 2020-03-27 00:48:23 +01:00
0332920d63 several fix of minor warnings 2020-03-25 14:46:23 +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
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
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
canape
3813828dce regression with local directory and {LIB} directory 2013-01-03 10:25:08 +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
Caner Candan
29e31fb6df * ga/make_op: added kbit flip mutation, disabled by default 2012-06-25 02:18:15 +02:00
Caner Candan
1809120d34 * ga/make_ga: eoBooleanGeneration is now settable 2012-06-25 02:17:32 +02:00
Caner Candan
ba45bac06c * make_continue_ga.cpp: typo 2012-06-22 15:36:19 +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
44d80d0020 * eoBitOp.h: added eoDetSingleBitFlip class 2012-06-14 01:08:26 +02:00
Caner Candan
a6c8b9733c * doc: badly named name of eoOneBitFlip, added eoBooleanGenerator in bitstring group 2012-03-06 21:55:54 +01:00
Caner Candan
e8f6c5f21b * indentation, whitespace cleanup 2011-05-11 15:28:41 +02:00
Caner Candan
bdc0b0fa9e - removed useless .cvsignore files since we are using git now 2011-05-10 10:34:35 +02:00
Caner Candan
56c6edab04 * indentations + whitespace cleanup 2011-05-05 16:54:00 +02:00
Johann Dreo
b7009822a5 fix some doxygen warnings 2010-11-07 23:43:58 +01:00
Johann Dreo
bd236ee67f add tests interfaces as examples in the doc ; remove unused test binaries ; some code formating 2010-11-07 23:12:28 +01:00
Johann Dreo
2104f5b7e9 and finally... still more grouping in documentation. 2010-11-05 22:46:15 +01:00
Johann Dreo
8b9aea4a0b more doc groups, cleaner modules hierarchy 2010-11-01 23:08:58 +01:00
Caner Candan
6d04ba9d32 ticket #1: Remove the autotools files done 2010-09-01 14:51:09 +02:00
Caner CANDAN
7159f8e5c4 + cpack configuration in order to generate packaging files, to make it easier use the script package_deb and package_rpm 2010-08-18 17:06:16 +02:00
paradiseo
080f98bffa Cmake configuration modified 2009-01-14 14:50:46 +00:00
kuepper
0388f95758 Update for gcc-4.3 compatibility 2008-03-31 19:11:13 +00:00
ldacosta
af8cd4b08b Adjusting configuration for Eclipse 2008-03-28 15:57:55 +00:00
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
112b34bceb Completed CMake config 2007-09-18 15:12:22 +00:00
kuepper
4c89acad72 Fix according to
[ 1663606 ] eoBitOp vector access
2007-08-21 14:52:50 +00:00
tlegrand
89047a3db6 added CMake configuration files 2007-08-10 14:29:12 +00:00
kuepper
adbc5dd461 fixes for gcc-4 compilation -- still have a linker problem 2005-12-07 15:40:23 +00:00
kuepper
7c3702f6a6 Handle including from contrib/MGE nicely. 2005-10-06 17:22:40 +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
kuepper
7b9e6d3e1f more adjustments for gcc-3.4 (now using optimization, go figure...) 2004-12-23 17:22:52 +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
kuepper
51471804cd fix installation, dist-preparation 2004-09-22 18:18:31 +00:00
kuepper
5e416e4a1c don't use user-variables 2004-09-20 16:05:25 +00:00
kuepper
c8494642d5 Updated build-prcess to be completely under automake control.
For the tutorial the old Makefiles are saved as Makefile.simple in all
the respective directories.

Use generated config.h instead of command-line passing of preprocessor
flags.

Updated support files from current automake.
2004-09-17 16:53:31 +00:00
evomarc
795f63b7fe Adding sharing - needed to modify quite a few files, like eoDistance.h
make_algo_scalar.h and all related files, and the like
2004-05-25 08:03:30 +00:00