git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@34 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
342b436feb
commit
da1d09b2cf
322 changed files with 46339 additions and 0 deletions
37
trunk/paradiseo-mo/src/moAspirCrit.h
Executable file
37
trunk/paradiseo-mo/src/moAspirCrit.h
Executable file
|
|
@ -0,0 +1,37 @@
|
|||
// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
|
||||
|
||||
// "moAspirCrit.h"
|
||||
|
||||
// (c) OPAC Team, LIFL, 2003-2006
|
||||
|
||||
/* TEXT LICENCE
|
||||
|
||||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef __moAspirCrit_h
|
||||
#define __moAspirCrit_h
|
||||
|
||||
#include <eoFunctor.h>
|
||||
|
||||
//! Description of the conditions in which a tabu move could be accepted
|
||||
/*!
|
||||
It is only a description... An object that herits from this class is needed to be used in a moTS.
|
||||
See moNoAspriCrit for example.
|
||||
*/
|
||||
template < class M > class moAspirCrit:public eoBF < const M &, const typename
|
||||
M::EOType::Fitness &,
|
||||
bool >
|
||||
{
|
||||
|
||||
public:
|
||||
//! Procedure which initialises all that needs a aspiration criterion.
|
||||
/*!
|
||||
It can be possible that this procedure do nothing...
|
||||
*/
|
||||
virtual void
|
||||
init () = 0;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue