Initialize options for example with name \a s
| 68 | Gecode::Driver::StringValueOption _file; |
| 69 | /// Initialize options for example with name \a s |
| 70 | RndQCSPOptions(const char* s) |
| 71 | : Options(s), |
| 72 | _printStrategy("-printStrategy","Print strategy",false), |
| 73 | _file("-file","File name of benchmark file") |
| 74 | { |
| 75 | add(_printStrategy); |
| 76 | add(_file); |
| 77 | } |
| 78 | /// Return true if the strategy must be printed |
| 79 | bool printStrategy(void) const { |
| 80 | return _printStrategy.value(); |