Commit graph

5,284 commits

Author SHA1 Message Date
Johann Dreo
e6beab8e5c Use the fitness type instead of the objective vectors in fitness assignments 2013-06-25 15:42:56 +02:00
Johann Dreo
0567d7be6c Use a specific comparator for the dual objective vector
Because we want to have a separated comparator to use in the archive or…
2013-06-25 15:41:29 +02:00
Johann Dreo
2233403b5f Use a dedicated setup in dual HV metric, with feasibility 2013-06-21 11:26:41 +02:00
Johann Dreo
3d0db369bc Use the feasibility of the current individual for the feasability of the metric in dual fitness assignment 2013-06-21 11:09:15 +02:00
Johann Dreo
80aa04d6da Overload setup in the dual fitness assignment, to handle comparison overloading 2013-06-21 09:52:12 +02: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
2b80b91d28 Use the templatized type for the metric in binary metric stat 2013-06-13 16:25:55 +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
6fa57622be Missing header and include guards for moeoBinaryMetricStat 2013-06-13 14:50:44 +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
272342bc16 Abstract base class for wrapping an estimator and a sampler as an eoTransform 2013-06-13 14:44:02 +02:00
Johann Dreo
70aa40f888 Add dual hypervolume operators in the framewok header 2013-06-13 10:37:48 +02:00
Johann Dreo
b132f48de2 Insert a copyright header 2013-06-13 10:37:25 +02:00
Johann Dreo
32b4f077c4 Move the dual hypervolume continuator in a separated file 2013-06-13 10:36:33 +02:00
Johann Dreo
c44264e703 Move the hyper volume dual difference metric in a separated file 2013-06-13 10:00:15 +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
39621f8711 In hyp continue, do not declare unused variable and group using 2013-06-12 10:40:20 +02:00
Johann Dreo
9250e0c3a5 Backport feasability when computing fitness in fitness assignment 2013-06-12 10:39:23 +02:00
Johann Dreo
557b24694a Do not declare unused variable
This silents warnings about unused variables
2013-06-12 10:38:34 +02:00
Johann Dreo
0badb71c65 reorder members, for safe initialization 2013-06-12 10:37:30 +02:00
Johann Dreo
475b9bc9ef Makes operator() of Hypcontinues virtual when inheritating 2013-06-12 10:14:02 +02:00
Johann Dreo
a7134a658c Correct types for fitness assignment in IBEA
While the default fitness assignment of IBEA is the Exp indicator one, the used interface is a binary indicator.
2013-06-12 09:50:46 +02:00
Johann Dreo
83673d48b2 bugfix: clear previous pop when calling split 2013-06-12 09:45:35 +02:00
Johann Dreo
1544d7d18f Merge branch 'master' of https://gforge.inria.fr/git/paradiseo/paradiseo
Conflicts:
	cmake/Config.cmake
2013-06-11 13:33:55 +02:00
Johann Dreo
75340a5c91 Add hyper volume continuators & metrics handling feasibility constraint on objectives 2013-06-11 13:29:57 +02:00
Johann Dreo
82ce471aef Add a warning in eoDualFitness comments 2013-06-11 13:28:51 +02:00
Johann Dreo
97156dd69a Fix the templates of moeoDualRealObjectiveVector 2013-06-11 09:24:11 +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
ac61b782c3 Use the objective type instead of double in metrics 2013-06-07 17:51:01 +02:00
Johann Dreo
45123abbf3 Add the DUAL fitness assignment class
Change a bit the machinery of moeoExpBinaryIndicatorBasedFitnessAssignment to allow subclassing.
2013-06-07 17:50:04 +02:00
Johann Dreo
89374247a4 Add constructors with explicit fitness assignement to IBEA 2013-06-07 17:34:59 +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
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
liefooga
effaa56cfd special two-objective case of dominance depth ranking in O(n log n) 2013-05-31 16:13:45 +02:00