git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1918 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
jhumeau 2010-08-26 09:28:25 +00:00
commit 2b1b02f162

View file

@ -62,6 +62,14 @@ public:
_solution.invalidate();
}
/**
* Return the class Name
* @return the class name as a std::string
*/
virtual std::string className() const {
return "moIndexedSwapNeighbor";
}
/**
* apply the swap to restore the solution (use by moFullEvalByModif)
* @param _solution the solution to move back
@ -90,6 +98,8 @@ public:
_first = key - (n - 1) * n / 2;
_second = N - 1 - (n - 1 - _first);
}
};