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

Method QCPOptions

examples/qcp.cpp:70–75  ·  view source on GitHub ↗

Initialize options for example with name \a s

Source from the content-addressed store, hash-verified

68 public:
69 /// Initialize options for example with name \a s
70 QCPOptions(const char* s)
71 : InstanceOptions(s),
72 _tbf("tbf", "tie-breaking factor",0.0) {
73 // Add options
74 add(_tbf);
75 }
76 /// Return tie-breaking factor
77 double tbf(void) const {
78 return _tbf.value();

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected