Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ size
Method
size
examples/qcp.cpp:119–121 ·
view source on GitHub ↗
Return problem size
Source
from the content-addressed store, hash-verified
117
Spec(const char* s) : data(find(s)) {}
118
/// Return problem size
119
int size(void) const {
120
return data[0];
121
}
122
/// Whether field is pre-assigned
123
bool assigned(int i, int j) const {
124
return info(i,j) > 0;
Callers
2
QCP
Method · 0.45
print
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected