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:
jboisson 2008-02-13 10:38:33 +00:00
commit acc73239fb
37 changed files with 2531 additions and 47 deletions

View file

@ -46,6 +46,8 @@
template < class M >
class moNoAspirCrit:public moAspirCrit < M >
{
public:
//! Function which describes the aspiration criterion behaviour
/*!
Does nothing.
@ -56,6 +58,11 @@ class moNoAspirCrit:public moAspirCrit < M >
*/
bool operator () (const M & _move, const typename M::EOType::Fitness & _fitness)
{
//Code only used to avoid warning because _move and _fitness are not used in this procedure.
const M move(_move);
typename M::EOType::Fitness fitness;
fitness=(typename M::EOType::Fitness)_fitness;
return false;
}