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

Function channel

gecode/minimodel/channel.hpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace Gecode {
37
38 inline BoolVar
39 channel(Home home, IntVar x, IntPropLevel ipl) {
40 (void) ipl;
41 BoolVar b(home,0,1); channel(home,b,x);
42 return b;
43 }
44
45 inline IntVar
46 channel(Home home, BoolVar b, IntPropLevel ipl) {

Callers

nothing calls this directly

Calls 8

nvaluesFunction · 0.85
maxFunction · 0.70
minFunction · 0.70
relFunction · 0.70
exprFunction · 0.70
cardinalityFunction · 0.70
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected