Alessandro Sidero
4268ae661b
fix: inconsistency assert
2025-04-15 17:48:00 +02:00
Alessandro Sidero
21ccc675ab
test: disabled assertion test
2025-04-15 16:32:56 +02:00
Alessandro Sidero
b8e393bf36
reset: using assert for validation
2025-04-15 16:24:20 +02:00
Alessandro Sidero
f799857da9
refactor: replace asserts with eoException-based validation
2025-04-15 15:38:20 +02:00
Alessandro Sidero
5c858eeb2e
test: add assertion validation tests for ranking classes
2025-04-15 15:34:45 +02:00
Alessandro Sidero
f365a1ec57
fix: correct typos in comments
2025-04-15 15:08:31 +02:00
Alessandro Sidero
5a536c7478
test: unify code formatting and replace cout with clog
2025-04-15 14:59:38 +02:00
Alessandro Sidero
9a2b0a2924
fix(eoRanking): add validation with assertions
2025-04-15 14:58:40 +02:00
Alessandro Sidero
d520787ac3
feat: add separate eoRankingCached.h file
2025-04-15 14:57:43 +02:00
Alessandro Sidero
df1ebb94dd
fix: used an unordered_map instead of vactor to save indexes
2025-04-15 00:23:31 +02:00
Alessandro Sidero
64fd702843
test: add eval and real_value.h in t-eoRankingCached.cpp
2025-04-15 00:22:31 +02:00
Alessandro Sidero
9f924ed212
fix: wrong inclusion of eoReal.h
2025-04-14 23:06:23 +02:00
Alessandro Sidero
0e40f0d2d0
test: add tests for eoRanking and eoRankingCached
2025-04-14 22:43:59 +02:00
Alessandro Sidero
d32aac2279
feat: add eoRankingCached with better documentation
2025-04-14 21:52:53 +02:00
Alessandro Sidero
6aafc04d78
Optimize eoRanking with caching and index vector
2025-04-12 19:52:11 +02:00
Johann Dreo
e14220ff69
fix(checkpoint): initialize a pointer
2025-04-07 22:57:21 +02:00
Johann Dreo
22275e434b
fix several warnings
...
Probably fixes a bug in es/CMA, which has been deprecated for a long time in favor of the EDO module anyway.
2025-04-07 14:16:37 +02:00
172798a637
revert 399b22266 (virtual fitness interface temptative)
...
Incompatible with MOEO's change of interface.
2025-04-04 21:46:04 +02:00
7c88ec4fa7
feat(EO): allow overriding fitness accessors
...
May be useful for debugging, by tracing when fitness assignement occurs.
2025-04-04 21:45:56 +02:00
Alessandro Sidero
77148b5a97
fix(MPI): resolved cyclic inclusion and MPI issue
2025-02-24 19:07:10 +01:00
Johann Dreo
190a30495e
fix(EO): allow readFrom to work on std::cin + invalidTag
...
- std::cin does not allow seekg/tellg, so instead one wrap the read string
in a istringstream, and then read from it.
This allows to read from any istream, with or without seekg.
- Adds an EO::invalidTag member, in case someone would need to use it
(for instance as a regexp to sanitize inputs).
2024-09-30 20:42:20 +02:00
Johann Dreo
8ea6e2b680
feat(eo): adds eoRealToIntInit
2024-09-27 12:20:10 +02:00
Johann Dreo
19ec4c4ff7
feat(eo): wrap ops on float vecs into ops on int vecs
...
Adds wrapper classes to make any MonOp or QuadOp that operates on eoReal embbedable in any operator needing an eoInt.
2024-09-26 13:24:10 +02:00
Johann Dreo
db24e611b7
refactor(tests): reduce runtime for foundry tests
2024-09-11 11:04:29 +02:00
Johann Dreo
a6a3f799e7
fix(eoParallel): declutch _t_start under _OPENMP
2024-09-10 10:57:50 +02:00
Johann Dreo
867b1c289b
fix(eoEvalUserTimeThrowException): preprocessor test for POSIX and UNIX
2024-09-10 10:44:42 +02:00
Johann Dreo
32195a480b
fix(selectors): comment out unused variable
2024-09-10 09:26:00 +02:00
Johann Dreo
c23b9c160a
fix(selectors): correctly initialize rawTotal
2024-09-10 09:22:16 +02:00
Johann Dreo
1a61cd1f1c
fix(eoGnuplot): get rid of warnings about unused variables
2024-09-10 09:21:51 +02:00
Johann Dreo
8dd4f529f2
fix(eoExceptions): do not return a ref from a temp
2024-09-10 09:21:15 +02:00
Johann Dreo
84148824e0
fix: remove a lot of trivial warnings
2024-08-23 18:00:31 +02:00
Johann Dreo
22b74e9c07
fix(eoEvalFoundryEA): reorder members to avoid warning
2024-08-23 14:53:01 +02:00
Johann Dreo
fefb2af4dd
REFACTOR!eoForge*): separate raw pointres from shared ones
...
- Move the instantiate(double) interfaces of eoForgeVector as instantiate_from.
- Adds two separated sets members for instantiation.
BREAKING CHANGE
2024-08-23 14:53:01 +02:00
Johann Dreo
3cc374ce5c
fix(warnings): do not ignore return from system
2024-08-23 14:53:01 +02:00
Johann Dreo
b4e89d8f51
fix(deprecated): guard from bind and *_function
...
Deprecated since C++11, removed in C++17.
2024-08-23 14:53:01 +02:00
Johann Dreo
09a26fdc62
fix(eoForge): missing header
2024-08-23 14:53:01 +02:00
Johann Dreo
4bbb4a595e
fix(mpi): fix some namespaces issues with mpi
2024-08-23 14:53:01 +02:00
Johann Dreo
c442d8a0a2
Revert "fix!(eoBit): defaults to char for scalar type"
...
This reverts commit 06e0cc0162b6f753d92076c510d7124d82a3def1.
2024-08-23 14:53:01 +02:00
Jxtopher
93e89828b8
Fix CI: random class issue, t-eoRoulette and update the workflow
2024-08-23 14:52:58 +02:00
Johann Dreo
ec1a0f0c62
fix(eoForgeVector): use shared_ptr insteadof raw ones + adds instantiate_ptr interface
2024-08-22 22:21:57 +02:00
Johann Dreo
6f7d505a2a
fix(rnd): use STL's rand gen for shuffles
...
Previous implementation used Paradiseo's own random generator system,
now superseeded by the STL's one.
2024-08-19 11:14:21 +02:00
Johann Dreo
55b2f57d19
fix!(eoBit): defaults to char for scalar type
...
Since STL's vector of bool is not a vector of bool, `swap`ing bool elements in an eoBit can lead to errors.
Using `char` is a saner default.
Potential BREAKING CHANGE.
2024-08-19 11:13:53 +02:00
e643468de8
revert 399b22266 (virtual fitness interface temptative)
...
Incompatible with MOEO's change of interface.
2024-04-08 22:20:00 +02:00
ff744aea7c
fix(eoStandardBitMutation):
...
- Fix all operators in eoStandardBitMutation.h
- Bitflip componennt was not bound, use explicit assignement of rates.
- Fix normal and fast operators algorithms.
Co-authored-by: Potalas <potalas@free.fr>
2024-04-08 22:20:00 +02:00
5a7fdf7ed3
feat(EO): allow overriding fitness accessors
...
May be useful for debugging, by tracing when fitness assignement occurs.
2024-04-08 22:20:00 +02:00
BertheasLeo
5e0e6fcd79
Update eoSIGContinue.h
...
Correction sighandler is not defined on Windows
2024-04-08 22:20:00 +02:00
1a980c442d
feat: add an eoForgeMap
...
Same features than an eoForgeVector,
but allowing to bind a string name to the instance.
2022-09-10 06:02:15 +02:00
3b7ffbbfae
fix Ubuntu-related memory allocation bug
2022-01-31 20:14:38 +01:00
132eb4f50e
refactor doc style
2022-01-27 13:11:20 +01:00
8948f0a3dc
fix doc: big update
...
- use single doxyfile instead of one per module
- use a cleaner and more modern style
- reorder sections to put details first
- hide diagrams by default
- remove deprecated doxygen variables
- disable latex generation by default
- fix some doc typos
2022-01-26 16:45:51 +01:00