Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ ite
Function
ite
gecode/set/bool.cpp:38–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
namespace Gecode {
37
38
void
39
ite(Home home, BoolVar b, SetVar x, SetVar y, SetVar z) {
40
GECODE_POST;
41
IntVar i(home,0,1);
42
channel(home, b, i);
43
SetVarArgs yx(2);
44
yx[0]=y; yx[1]=x;
45
element(home, yx, i, z);
46
}
47
48
}
49
Callers
3
post
Method · 0.50
post
Method · 0.50
post
Method · 0.50
Calls
2
channel
Function · 0.70
element
Function · 0.70
Tested by
no test coverage detected