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

Method RndQCSPOptions

contribs/quacode/examples/rndQCSP.cpp:70–77  ·  view source on GitHub ↗

Initialize options for example with name \a s

Source from the content-addressed store, hash-verified

68 Gecode::Driver::StringValueOption _file;
69 /// Initialize options for example with name \a s
70 RndQCSPOptions(const char* s)
71 : Options(s),
72 _printStrategy("-printStrategy","Print strategy",false),
73 _file("-file","File name of benchmark file")
74 {
75 add(_printStrategy);
76 add(_file);
77 }
78 /// Return true if the strategy must be printed
79 bool printStrategy(void) const {
80 return _printStrategy.value();

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected