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

Function main

examples/steel-mill.cpp:468–480  ·  view source on GitHub ↗

\brief Main-function * \relates SteelMill */

Source from the content-addressed store, hash-verified

466 * \relates SteelMill
467 */
468int
469main(int argc, char* argv[]) {
470 SteelMillOptions opt("Steel Mill Slab design");
471 opt.symmetry(SteelMill::SYMMETRY_BRANCHING);
472 opt.symmetry(SteelMill::SYMMETRY_NONE,"none");
473 opt.symmetry(SteelMill::SYMMETRY_BRANCHING,"branching");
474 opt.symmetry(SteelMill::SYMMETRY_LDSB,"ldsb");
475 opt.solutions(0);
476 if (!opt.parse(argc,argv))
477 return 1;
478 Script::run<SteelMill,BAB,SteelMillOptions>(opt);
479 return 0;
480}
481
482
483void

Callers

nothing calls this directly

Calls 3

symmetryMethod · 0.45
solutionsMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected