redundant code ( moveBack is simple call of move on same solution)

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2289 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
boufaras 2011-07-06 13:09:34 +00:00
commit 77f5ba7174

View file

@ -74,15 +74,8 @@ public:
* @param _solution the solution to move back
*/
virtual void moveBack(EOT& _solution) {
unsigned int tmp;
unsigned i, j;
this->getIndices(_solution.size(), i, j);
tmp = _solution[i];
_solution[i] = _solution[j];
_solution[j] = tmp;
_solution.invalidate();
move(_solution);
}
/**