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

Method bins

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

Return number of bins

Source from the content-addressed store, hash-verified

82 }
83 /// Return number of bins
84 int bins(void) const {
85 return data[2];
86 }
87 /// Return item size for item \a i in dimension \a k
88 int size(int i, int k) const {
89 return data[3+i*dimension()+k];

Callers 2

MultiBinPackingMethod · 0.80
printMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected