add equal comparator between 2 neighbors and between 1 sol and 1 neighbor

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2020 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
marieeleonore 2010-12-14 10:25:17 +00:00
commit 6095a66005
8 changed files with 157 additions and 9 deletions

View file

@ -127,6 +127,8 @@ public:
//apply the local search on the copy
ls(current);
// std::cout << "(solution)\t" << current << std::endl;
};
/**

View file

@ -111,6 +111,7 @@ public:
* @param _solution
*/
virtual void operator()(EOT & _solution) {
//Test if _solution has a Neighbor
if (neighborhood.hasNeighbor(_solution)) {
//init the first neighbor