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

Function dom

gecode/int/dom.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38namespace Gecode {
39
40 void
41 dom(Home home, IntVar x, int n, IntPropLevel) {
42 using namespace Int;
43 Limits::check(n,"Int::dom");
44 GECODE_POST;
45 IntView xv(x);
46 GECODE_ME_FAIL(xv.eq(home,n));
47 }
48
49 void
50 dom(Home home, const IntVarArgs& x, int n, IntPropLevel) {

Callers

nothing calls this directly

Calls 14

BoolViewClass · 0.70
checkFunction · 0.50
postFunction · 0.50
eqMethod · 0.45
sizeMethod · 0.45
gqMethod · 0.45
lqMethod · 0.45
minMethod · 0.45
maxMethod · 0.45
inter_rMethod · 0.45
modeMethod · 0.45
varMethod · 0.45

Tested by

no test coverage detected