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

Method Spec

examples/bin-packing.cpp:166–170  ·  view source on GitHub ↗

Initialize

Source from the content-addressed store, hash-verified

164 public:
165 /// Initialize
166 Spec(const char* s) : data(find(s)), l(0), u(0) {
167 if (valid()) {
168 l = clower(); u = cupper();
169 }
170 }
171 /// Return sum of all item sizes
172 int total(void) const {
173 int t=0;

Callers

nothing calls this directly

Calls 1

validFunction · 0.85

Tested by

no test coverage detected