MCPcopy Create free account
hub / github.com/Gecode/gecode / main

Function main

examples/radiotherapy.cpp:345–360  ·  view source on GitHub ↗

\brief Main-function * \relates Radiotherapy */

Source from the content-addressed store, hash-verified

343 * \relates Radiotherapy
344 */
345int
346main(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
362namespace {
363 /** \brief Radiotherapy specifications.

Callers

nothing calls this directly

Calls 3

solutionsMethod · 0.45
sizeMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected