\brief Main-function * \relates Radiotherapy */
| 343 | * \relates Radiotherapy |
| 344 | */ |
| 345 | int |
| 346 | main(int argc, char* argv[]) { |
| 347 | SizeOptions opt("Radiotherapy"); |
| 348 | opt.solutions(0); |
| 349 | opt.size(0); |
| 350 | opt.parse(argc,argv); |
| 351 | |
| 352 | if (opt.size() >= rds_n) { |
| 353 | std::cerr << "Error: size must be between 0 and " |
| 354 | << rds_n-1 << std::endl; |
| 355 | return 1; |
| 356 | } |
| 357 | |
| 358 | IntMinimizeScript::run<Radiotherapy,BAB,SizeOptions>(opt); |
| 359 | return 0; |
| 360 | } |
| 361 | |
| 362 | namespace { |
| 363 | /** \brief Radiotherapy specifications. |