\brief Main-function * \relates Queens */
| 187 | * \relates Queens |
| 188 | */ |
| 189 | int |
| 190 | main(int argc, char* argv[]) { |
| 191 | SizeOptions opt("Queens"); |
| 192 | opt.iterations(500); |
| 193 | opt.size(100); |
| 194 | opt.propagation(Queens::PROP_DISTINCT); |
| 195 | opt.propagation(Queens::PROP_BINARY, "binary", |
| 196 | "only binary disequality constraints"); |
| 197 | opt.propagation(Queens::PROP_MIXED, "mixed", |
| 198 | "single distinct and binary disequality constraints"); |
| 199 | opt.propagation(Queens::PROP_DISTINCT, "distinct", |
| 200 | "three distinct constraints"); |
| 201 | |
| 202 | #if defined(GECODE_HAS_QT) && defined(GECODE_HAS_GIST) |
| 203 | QueensInspector ki; |
| 204 | opt.inspect.click(&ki); |
| 205 | #endif |
| 206 | |
| 207 | opt.parse(argc,argv); |
| 208 | Script::run<Queens,DFS,SizeOptions>(opt); |
| 209 | return 0; |
| 210 | } |
| 211 | |
| 212 | // STATISTICS: example-any |
| 213 |
nothing calls this directly
no test coverage detected