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

Method valid

examples/multi-bin-packing.cpp:68–70  ·  view source on GitHub ↗

Whether a valid specification has been found

Source from the content-addressed store, hash-verified

66 Spec(const char* s) : data(find(s)), n(s) {}
67 /// Whether a valid specification has been found
68 bool valid(void) const {
69 return data != nullptr;
70 }
71 /// Return dimension
72 int dimension(void) const {
73 return data[0];

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected