git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1650 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
01feefce30
commit
0f370ac9e1
14 changed files with 269 additions and 185 deletions
20
branches/newMo/src/neighborhood/moBackableNeighbor.h
Normal file
20
branches/newMo/src/neighborhood/moBackableNeighbor.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef _BackableNeighbor_h
|
||||
#define _BackableNeighbor_h
|
||||
|
||||
/*
|
||||
neighbor with a move back function to use in a moFullEvalByModif
|
||||
*/
|
||||
template< class EOT , class Fitness >
|
||||
class moBackableNeighbor : moNeighbor<EOT, Fitness>
|
||||
{
|
||||
public:
|
||||
|
||||
/*
|
||||
* the move back function
|
||||
* @param _solution the solution to moveBack
|
||||
*/
|
||||
virtual moveBack(EOT & _solution) = 0;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue