MO full import
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@25 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
754f79be6a
commit
bbad098cba
315 changed files with 46407 additions and 0 deletions
48
trunk/paradiseo-mo/src/moNoAspirCrit.h
Executable file
48
trunk/paradiseo-mo/src/moNoAspirCrit.h
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
|
||||
|
||||
// "eoNoAspirCrit.h"
|
||||
|
||||
// (c) OPAC Team, LIFL, 2003-2006
|
||||
|
||||
/* TEXT LICENCE
|
||||
|
||||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef __moNoAspirCrit_h
|
||||
#define __moNoAspirCrit_h
|
||||
|
||||
#include "moAspirCrit.h"
|
||||
|
||||
//! One of the possible aspiration criterion (moAspirCrit)
|
||||
/*!
|
||||
The simplest : never satisfied.
|
||||
*/
|
||||
template < class M > class moNoAspirCrit:public moAspirCrit < M >
|
||||
{
|
||||
|
||||
//! Function which describes the aspiration criterion behaviour
|
||||
/*!
|
||||
Does nothing.
|
||||
|
||||
\param __move a move.
|
||||
\param __sol a fitness.
|
||||
\return FALSE.
|
||||
*/
|
||||
bool operator () (const M & __move,
|
||||
const typename M::EOType::Fitness & __sol)
|
||||
{
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
//! Procedure which initialises all that needs a moNoAspirCrit
|
||||
/*!
|
||||
Nothing...
|
||||
*/
|
||||
void init ()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue