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

Function channel

gecode/minimodel/aliases.hpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149#ifdef GECODE_HAS_SET_VARS
150
151 inline void
152 channel(Home home, const IntVarArgs& x, SetVar y) {
153 rel(home,SOT_UNION,x,y);
154 nvalues(home,x,IRT_EQ,expr(home,cardinality(y)));
155 }
156
157 inline void
158 range(Home home, const IntVarArgs& x, SetVar y, SetVar z) {

Callers 2

rootsFunction · 0.70
postMethod · 0.70

Calls 4

nvaluesFunction · 0.85
relFunction · 0.70
exprFunction · 0.70
cardinalityFunction · 0.70

Tested by

no test coverage detected