cleanup
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1720 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
ea81cb7f3d
commit
4d5b8db81e
23 changed files with 44 additions and 62 deletions
|
|
@ -95,7 +95,6 @@ class moeoAugmentedQexploreWeightStrategy: public moeoVariableWeightStrategy<MOE
|
|||
bool translate(int dim, std::vector<double> &_weights){
|
||||
_weights.clear();
|
||||
_weights.resize(dim,0);
|
||||
int max=dim-1;
|
||||
for (unsigned int i=0;i<nums.size();i++){
|
||||
_weights[nums[i]]++;
|
||||
if (depth>1 && _weights[nums[i]]==depth) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ class moeoDummyWeightStrategy: public moeoVariableWeightStrategy<MOEOT>
|
|||
* @param _moeot not used
|
||||
*/
|
||||
void operator()(std::vector<double> &_weights,const MOEOT &_moeot){
|
||||
double sum=0;
|
||||
for (unsigned int i=0;i<_weights.size();i++){
|
||||
_weights[i]=(1.0/_weights.size());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue