nettoyage
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1861 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
7b8b687bd4
commit
934ffe05cb
1 changed files with 0 additions and 5 deletions
|
|
@ -125,18 +125,13 @@ class moeoObjectiveVectorNormalizer
|
|||
for (unsigned int i=0;i<dim;i++){
|
||||
std::vector<Type> coefs;
|
||||
if(!max_param){
|
||||
// std::cout<<"ampmax="<<amp_max;
|
||||
// if(amps[i]==0) std::cerr<<"scale erronée"<<std::endl;
|
||||
coefs.push_back(amps[i]==0?1:amp_max/amps[i]);
|
||||
}
|
||||
else{
|
||||
// std::cout<<"maxparam="<<max_param;
|
||||
// if(amps[i]==0) std::cerr<<"scale erronée"<<std::endl;
|
||||
coefs.push_back(amps[i]==0?1:max_param/amps[i]);
|
||||
}
|
||||
|
||||
coefs.push_back(mins[i]);
|
||||
// std::cout<<"a="<<coefs[0]<<" b="<<coefs[1]<<std::endl;
|
||||
res.push_back(coefs);
|
||||
}
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue