\brief Main function * \relates CrowdedChess */
| 398 | * \relates CrowdedChess |
| 399 | */ |
| 400 | int |
| 401 | main(int argc, char* argv[]) { |
| 402 | SizeOptions opt("CrowdedChess"); |
| 403 | opt.propagation(CrowdedChess::PROP_TUPLE_SET); |
| 404 | opt.propagation(CrowdedChess::PROP_TUPLE_SET, |
| 405 | "extensional", |
| 406 | "Use extensional propagation for bishops-placement"); |
| 407 | opt.propagation(CrowdedChess::PROP_DECOMPOSE, |
| 408 | "decompose", |
| 409 | "Use decomposed propagation for bishops-placement"); |
| 410 | opt.ipl(IPL_DOM); |
| 411 | opt.size(8); |
| 412 | opt.parse(argc,argv); |
| 413 | if (opt.size() < 5) { |
| 414 | std::cerr << "Error: size must be at least 5" << std::endl; |
| 415 | return 1; |
| 416 | } |
| 417 | init_bishops(opt.size()); |
| 418 | Script::run<CrowdedChess,DFS,SizeOptions>(opt); |
| 419 | return 0; |
| 420 | } |
| 421 | |
| 422 | // STATISTICS: example-any |
| 423 |
nothing calls this directly
no test coverage detected