BIG update

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@210 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
liefooga 2007-04-10 13:34:32 +00:00
commit 528a149107
27 changed files with 1891 additions and 344 deletions

View file

@ -27,7 +27,7 @@ class moeoNormalizedSolutionVsSolutionBinaryMetric : public moeoSolutionVsSoluti
{
public:
/** very small value to avoid the extreme case where the min bound = the max bound */
/** very small value to avoid the extreme case where the min bound == the max bound */
const static double tiny = 1e-6;
@ -46,15 +46,13 @@ public:
* _max upper bound
* _obj the objective index
*/
virtual void setup(double _min, double _max, unsigned _obj)
void setup(double _min, double _max, unsigned _obj)
{
/*
if (min = max)
if (_min == _max)
{
min -= tiny;
max += tiny;
_min -= tiny;
_max += tiny;
}
*/
bounds[_obj] = eoRealInterval(_min, _max);
}