Tests have been included and src code has been updated to avoid compilation warnings
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@937 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
50863ab6b9
commit
acc73239fb
37 changed files with 2531 additions and 47 deletions
|
|
@ -53,10 +53,8 @@ class moImprBestFitAspirCrit:public moAspirCrit < M >
|
|||
typedef typename M::EOType::Fitness Fitness;
|
||||
|
||||
//! Contructor
|
||||
moImprBestFitAspirCrit ()
|
||||
{
|
||||
first_time = true;
|
||||
}
|
||||
moImprBestFitAspirCrit (): first_time(true)
|
||||
{}
|
||||
|
||||
//! Initialisation procedure
|
||||
void init ()
|
||||
|
|
@ -74,6 +72,9 @@ class moImprBestFitAspirCrit:public moAspirCrit < M >
|
|||
*/
|
||||
bool operator () (const M & _move, const Fitness & _fitness)
|
||||
{
|
||||
//code only used for avoiding warning because _move is not used in this function.
|
||||
const M move(_move);
|
||||
|
||||
if (first_time)
|
||||
{
|
||||
best_fitness = _fitness;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue