Do not perform a restart when a solution is found
| 283 | } |
| 284 | /// Do not perform a restart when a solution is found |
| 285 | bool master(const MetaInfo& mi) { |
| 286 | if (mi.type() == MetaInfo::RESTART) |
| 287 | // Post no-goods |
| 288 | mi.nogoods().post(*this); |
| 289 | // Do not perform a restart if a solution has been found |
| 290 | return false; |
| 291 | } |
| 292 | |
| 293 | /// Constructor for cloning \a s |
| 294 | Crossword(Crossword& s) |