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

Method QDimacsOptions

contribs/quacode/examples/qdimacs.cpp:74–83  ·  view source on GitHub ↗

Initialize options with file name \a s

Source from the content-addressed store, hash-verified

72 std::string filename;
73 /// Initialize options with file name \a s
74 QDimacsOptions(const char* s, bool _qConstraint0)
75 : Options(s),
76 _printStrategy("-printStrategy","Print strategy",false),
77 _qConstraint("-quantifiedConstraints",
78 "whether to use quantified optimized constraints",
79 _qConstraint0)
80 {
81 add(_printStrategy);
82 add(_qConstraint);
83 }
84 /// Parse options from arguments \a argv (number is \a argc)
85 void parse(int& argc, char* argv[]) {
86 // Parse regular options

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected