moDummyNeighborhoodTest => hasNeighbor() : add case i==1
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2283 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
3aaf6ddad0
commit
f232620f49
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ public:
|
||||||
|
|
||||||
virtual bool hasNeighbor(EOT & _solution) {
|
virtual bool hasNeighbor(EOT & _solution) {
|
||||||
bool res;
|
bool res;
|
||||||
if (i%3==0)
|
if (i%3==0 || i==1)
|
||||||
res=false;
|
res=false;
|
||||||
else
|
else
|
||||||
res=true;
|
res=true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue