Essai du nouveau "modele"
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1655 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
6a72d70f23
commit
c3085595bf
13 changed files with 85 additions and 98 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* Neighbor with a move back function to use in a moFullEvalByModif
|
||||
*/
|
||||
template< class EOT , class Fitness >
|
||||
class moBackableNeighbor : moNeighbor<EOT, Fitness>
|
||||
class moBackableNeighbor : public moNeighbor<EOT, Fitness>
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ public:
|
|||
* the move back function
|
||||
* @param _solution the solution to moveBack
|
||||
*/
|
||||
virtual moveBack(EOT & _solution) = 0;
|
||||
virtual void moveBack(EOT & _solution){}
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue