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

Function main

examples/magic-square.cpp:138–149  ·  view source on GitHub ↗

\brief Main-function * \relates MagicSquare */

Source from the content-addressed store, hash-verified

136 * \relates MagicSquare
137 */
138int
139main(int argc, char* argv[]) {
140 SizeOptions opt("MagicSquare");
141 opt.iterations(1);
142 opt.size(7);
143 opt.branching(MagicSquare::BRANCH_SIZE);
144 opt.branching(MagicSquare::BRANCH_SIZE, "size");
145 opt.branching(MagicSquare::BRANCH_AFC_SIZE, "afc-size");
146 opt.parse(argc,argv);
147 Script::run<MagicSquare,DFS,SizeOptions>(opt);
148 return 0;
149}
150
151// STATISTICS: example-any
152

Callers

nothing calls this directly

Calls 4

iterationsMethod · 0.80
branchingMethod · 0.80
sizeMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected