update do_make files
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@303 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
2b2b375452
commit
a7e9e6aa13
3 changed files with 5 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ moeoEA < MOEOT > & do_make_ea_moeo(eoParser & _parser, eoState & _state, eoEvalF
|
||||||
string stmp = string("Invalid binary quality indicator: ") + indicatorParam;
|
string stmp = string("Invalid binary quality indicator: ") + indicatorParam;
|
||||||
throw std::runtime_error(stmp.c_str());
|
throw std::runtime_error(stmp.c_str());
|
||||||
}
|
}
|
||||||
fitnessAssignment = new moeoIndicatorBasedFitnessAssignment < MOEOT> (metric, kappa);
|
fitnessAssignment = new moeoIndicatorBasedFitnessAssignment < MOEOT > (*metric, kappa);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -181,11 +181,13 @@ moeoEA < MOEOT > & do_make_ea_moeo(eoParser & _parser, eoState & _state, eoEvalF
|
||||||
}
|
}
|
||||||
select = new moeoStochTournamentSelect < MOEOT > (*comparator, tRate);
|
select = new moeoStochTournamentSelect < MOEOT > (*comparator, tRate);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
else if (ppSelect.first == string("Roulette"))
|
else if (ppSelect.first == string("Roulette"))
|
||||||
{
|
{
|
||||||
// TO DO !
|
// TO DO !
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
else if (ppSelect.first == string("Random"))
|
else if (ppSelect.first == string("Random"))
|
||||||
{
|
{
|
||||||
select = new moeoRandomSelect <MOEOT > ();
|
select = new moeoRandomSelect <MOEOT > ();
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ moeoLS < MOEOT, eoPop<MOEOT> & > & do_make_ls_moeo (
|
||||||
string stmp = string("Invalid binary quality indicator: ") + indicatorParam;
|
string stmp = string("Invalid binary quality indicator: ") + indicatorParam;
|
||||||
throw std::runtime_error(stmp.c_str());
|
throw std::runtime_error(stmp.c_str());
|
||||||
}
|
}
|
||||||
fitnessAssignment = new moeoIndicatorBasedFitnessAssignment < MOEOT> (metric, kappa);
|
fitnessAssignment = new moeoIndicatorBasedFitnessAssignment < MOEOT> (*metric, kappa);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue