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:
parent
2eb04d2eff
commit
6095a66005
8 changed files with 157 additions and 9 deletions
|
|
@ -127,6 +127,8 @@ public:
|
|||
//apply the local search on the copy
|
||||
ls(current);
|
||||
|
||||
// std::cout << "(solution)\t" << current << std::endl;
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue