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

Function main

examples/money.cpp:128–139  ·  view source on GitHub ↗

\brief Main-function * \relates Money */

Source from the content-addressed store, hash-verified

126 * \relates Money
127 */
128int
129main(int argc, char* argv[]) {
130 Options opt("SEND+MORE=MONEY");
131 opt.model(Money::MODEL_SINGLE);
132 opt.model(Money::MODEL_SINGLE, "single", "use single linear equation");
133 opt.model(Money::MODEL_CARRY, "carry", "use carry");
134 opt.solutions(0);
135 opt.iterations(20000);
136 opt.parse(argc,argv);
137 Script::run<Money,DFS,Options>(opt);
138 return 0;
139}
140
141// STATISTICS: example-any
142

Callers

nothing calls this directly

Calls 4

modelMethod · 0.80
iterationsMethod · 0.80
solutionsMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected