Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ TestSpace
Method
TestSpace
gecode/gist/standalone-example/mygist.cpp:46–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
public:
45
IntVarArray x;
46
TestSpace(void) : x(*this,2,0,2) {
47
branch(*this, x, INT_VAR_NONE(), INT_VAL_MIN());
48
}
49
TestSpace(TestSpace& t) : Space(t) {
50
x.update(*this, t.x);
51
}
Callers
nothing calls this directly
Calls
4
INT_VAR_NONE
Function · 0.85
INT_VAL_MIN
Function · 0.85
branch
Function · 0.50
update
Method · 0.45
Tested by
no test coverage detected