Nettoyage et documentation des classes de bases
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1653 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
61fb1b845d
commit
31c6fe9888
9 changed files with 224 additions and 177 deletions
|
|
@ -1,9 +1,11 @@
|
|||
#ifndef _moContinuator_h
|
||||
#define _moContinuator_h
|
||||
|
||||
#include <eoFunctor.h>
|
||||
|
||||
/*
|
||||
to make specific continuator from a solution
|
||||
*/
|
||||
* To make specific continuator from a solution
|
||||
*/
|
||||
template< class NH >
|
||||
class moContinuator : public eoUF<typename NH::EOT &, bool>
|
||||
{
|
||||
|
|
@ -11,19 +13,11 @@ public:
|
|||
typedef NH Neighborhood ;
|
||||
typedef typename Neighborhood::EOT EOT ;
|
||||
|
||||
// empty constructor
|
||||
moContinuator() { } ;
|
||||
|
||||
virtual void init(EOT & solution) = 0 ;
|
||||
/*
|
||||
* Init Continuator parameters
|
||||
* @param _solution the related solution
|
||||
*/
|
||||
virtual void init(EOT& _solution) = 0 ;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
// Local Variables:
|
||||
// coding: iso-8859-1
|
||||
// mode: C++
|
||||
// c-file-offsets: ((c . 0))
|
||||
// c-file-style: "Stroustrup"
|
||||
// fill-column: 80
|
||||
// End:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue