git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1659 331e1502-861f-0410-8da2-ba01fb791d7f
22 lines
419 B
C++
22 lines
419 B
C++
#ifndef _BackableNeighbor_h
|
|
#define _BackableNeighbor_h
|
|
|
|
#include <neighborhood/moNeighbor.h>
|
|
|
|
/**
|
|
* Neighbor with a move back function to use in a moFullEvalByModif
|
|
*/
|
|
template< class EOT , class Fitness >
|
|
class moBackableNeighbor : public moNeighbor<EOT, Fitness>
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* the move back function
|
|
* @param _solution the solution to moveBack
|
|
*/
|
|
virtual void moveBack(EOT & _solution){}
|
|
|
|
};
|
|
|
|
#endif
|