Do not finish when goal found, try to find better solution yet.
{
// decide finish conditions (maybe comment some lines)
//if (this->icnt_ > 999) return true;
{
// decide finish conditions (maybe comment some lines)
//if (this->icnt_ > 999) return true;
- if (this->scnt_ > 10) return true;
- if (this->gf()) return true;
+ if (this->scnt_ > 2) return true;
+ //if (this->gf()) return true;
// but continue by default
return false;
}
// but continue by default
return false;
}