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

Method parse

contribs/quacode/examples/matrix-game.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 /// Print help message
92 virtual void help(void) {
93 Options::help();

Callers 1

mainFunction · 0.45

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected