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

Method parse

contribs/quacode/examples/qbf.cpp:85–90  ·  view source on GitHub ↗

Parse options from arguments \a argv (number is \a argc)

Source from the content-addressed store, hash-verified

83 }
84 /// Parse options from arguments \a argv (number is \a argc)
85 void parse(int& argc, char* argv[]) {
86 Options::parse(argc,argv);
87 if (argc < 2)
88 return;
89 n = atoi(argv[1]);
90 }
91 /// Return true if the strategy must be printed
92 bool printStrategy(void) const {
93 return _printStrategy.value();

Callers 3

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected