Commit graph

5,140 commits

Author SHA1 Message Date
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
9787d4d89c Generic ObjectiveVector types 2013-06-07 12:43:09 +02:00
Johann Dreo
c9da01c70d Add missing arithmetic operators to eoDualFitness 2013-06-07 12:42:27 +02:00
Johann Dreo
818425565d Correct templatized types across ObjectiveVector-dependant code 2013-06-07 11:52:50 +02:00
Johann Dreo
3adff8518f Add moeoDualRealObjectiveVector, to implement OV with feasability 2013-06-07 11:26:49 +02:00
Johann Dreo
54e181d460 Use generic objective vector atomic type in HV continuator
One should not use specific OV types in continuators, but get it from ObjectiveVector::Type instead.
2013-06-07 11:22:26 +02:00
Johann Dreo
9aec7780dc Add moeoScalarObjectiveVector, a generic OV with templatized atomic type
Because sometime, we may want to use something else than a double (for example an eoDualFitness, a complex or whatever).
2013-06-07 11:21:02 +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
6e56f634c3 use a sub-directory in the zip archive 2013-04-30 15:56:54 +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
Johann Dreo
e04a356809 Add a warning in moeoHyperVolumeUnaryMetric if set size == 1 2013-04-30 12:02:26 +02:00
Johann Dreo
379f71f288 bugfix: call mother constructor of moeoHypervolumeBinaryMetric
Thus the default bounds are initialized.
2013-04-30 12:02:26 +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
74a92bfd6b Include edoTrasform in <edo> 2013-04-29 16:05:28 +02:00
Johann Dreo
768b08c8d7 Remove the DEBUG option of CMake, that was overriding CMAKE_BUILD_TYPE
CMAKE_BUILD_TYPE is the expected way of specifying a Debug/Release build.
2013-04-29 16:03:58 +02:00
Johann Dreo
c6f7707c05 buildfix: expand Eigen include dir in cmake 2013-04-19 09:46:58 +02:00
Johann Dreo
3067f3f8e4 Refactor edoBinomialMulti to allow more complex data structures
Refactor distribution, sampler and estimator related to the multi-binomial distribution.
This introduce tomic methods which may be overloaded for data structures more complex than eoReal of vector of bool (the
default implentation).
2013-04-18 10:11:32 +02:00
canape
c197e6b286 BUG GNUPLOT: corrected by Titus Cieslewski 2013-04-18 08:55:00 +02:00
Johann Dreo
63e0b26186 Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/paradiseo/paradiseo 2013-04-17 08:45:35 +02:00
Johann Dreo
618c0c4cc4 EO -> paradisEO 2013-04-16 14:32:39 +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
Johann Dreo
cb97ce47cc Remove a const in a return type functor template 2013-04-03 13:50:59 +02:00
Johann Dreo
0a528039e2 reorder members of moeoHypcontinue 2013-04-03 12:13:37 +02:00
Mostepha-Redouane Khouadjia
9b5ceeea65 An MOEO continuator that stops if the archive reach a target Pareto Front 2013-04-03 12:04:25 +02:00
Johann Dreo
937ac7483d Add a wrapper to save a moeoMetric in an eoStat
Example:
    moeoHyperVolumeDifferenceMetric<OVT> * m_hypervolume = new moeoHyperVolumeDifferenceMetric<OVT>(true,1.1);
    moeoBinaryMetricStat<EOT>* hypervolume = new moeoBinaryMetricStat<EOT>( *m_hypervolume, "hyp-vol" );
    checkpoint.add( *hypervolume );
2013-04-02 17:15:47 +02:00
Benjamin Bouvier
95e4dfc625 eoserial: packing and unpacking of map<string, T> 2013-03-22 18:03:36 +01:00
Benjamin Bouvier
6c148f8ae2 eoserial: example of using the new-new serialization 2013-03-22 17:53:50 +01:00
Benjamin Bouvier
a9bdf2d51b eoserial: comments Utils.h 2013-03-22 17:46:20 +01:00
Benjamin Bouvier
5ab91c6139 eoserial: merged former Serialize.h with Utils.h: pack / unpack. 2013-03-22 17:05:42 +01:00
Benjamin Bouvier
a98563b118 eoserial: removed Serialize.h (something else coming soon...) 2013-03-22 17:05:19 +01:00
Benjamin Bouvier
d2680f986b eoserial: traits for knowing whether a class is derived from another one at compile time. Thanks Herb Sutter 2013-03-22 17:01:12 +01:00
Benjamin Bouvier
9ff8c7e499 eoserial: added Serialize by default for eoserial. 2013-03-22 01:14:18 +01:00
Benjamin Bouvier
834dcb1bd6 eoserial: comments for Serialize. 2013-03-22 01:13:44 +01:00
Benjamin Bouvier
f7e2a6ea7f eoserial: support char + std::list 2013-03-22 00:37:59 +01:00
Benjamin Bouvier
dc0f995ff4 eoserial: typos (comment + throw exceptions) 2013-03-22 00:37:25 +01:00
Johann Dreo
64476d7561 buildfix: MOEO declare base class returning non-const bool 2013-03-21 07:42:00 +01:00
Johann Dreo
d22c9f1c60 buildfix: Build EDO doc in edo/doc, as the other modules 2013-03-20 19:46:17 +01:00
Johann Dreo
bda48533e8 Suppress warnings when compiling MOEO functions returning const
When compiling whith --Wignored-qualifiers, g++ no more warns about
ignoring const in methods *returning* a const, which isn't logical.
2013-03-20 17:42:04 +01:00
Benjamin Bouvier
eb047ed39c eoserial: easy serialization with eoserial::serialize and eoserial::deserialize. 2013-03-15 20:33:50 +01:00
Benjamin Bouvier
f412139549 eoserial: bugfix: String -> SerialString. 2013-03-15 20:33:25 +01:00
Benjamin Bouvier
10148ae00b eoserial: renamed String/Object/Array into Serial* to avoid compiler confusion. 2013-03-15 19:26:32 +01:00
Benjamin Bouvier
43cb068d53 eoserial:: const correctness for String. 2013-03-15 19:17:40 +01:00
verel
814062d01d debug moMonOpPerturb : replace "res = res || monOp(_solution);" by " res = monOp(_solution) || res;" ! 2013-03-11 13:47:19 +01:00
b06250dc39 Add multi-Binomial distrib operators in EDO
So as to model vector<vector<bool>> individuals with 2D binomial distributions (as Eigen matrix).
2013-03-07 20:33:09 +01:00
fb4ffd2954 more generic edo*Binomial* code 2013-03-07 20:32:21 +01:00
fff9f023c5 bugfix: handle help in binomial test 2013-03-07 10:35:35 +01:00