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

Method BakerOptions

contribs/quacode/examples/baker.cpp:70–75  ·  view source on GitHub ↗

Parameter to be given on the command line Initialize options for example with name \a s

Source from the content-addressed store, hash-verified

68 int n; /// Parameter to be given on the command line
69 /// Initialize options for example with name \a s
70 BakerOptions(const char* s, int n0)
71 : Options(s),
72 _printStrategy("-printStrategy","Print strategy",false),
73 n(n0) {
74 add(_printStrategy);
75 }
76 /// Parse options from arguments \a argv (number is \a argc)
77 void parse(int& argc, char* argv[]) {
78 Options::parse(argc,argv);

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected