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

Function dom

gecode/float/dom.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace Gecode {
38
39 void
40 dom(Home home, FloatVar x, FloatVal n) {
41 using namespace Float;
42 Limits::check(n,"Float::dom");
43 GECODE_POST;
44 FloatView xv(x);
45 GECODE_ME_FAIL(xv.eq(home,n));
46 }
47
48 void
49 dom(Home home, const FloatVarArgs& x, FloatVal n) {

Callers 9

addDomainConstraintFunction · 0.50
slaveMethod · 0.50
p_int_inFunction · 0.50
p_int_in_reifFunction · 0.50
p_int_in_impFunction · 0.50
p_set_inFunction · 0.50
p_set_in_reifFunction · 0.50
p_array_set_element_opFunction · 0.50
p_int_set_channelFunction · 0.50

Calls 11

checkFunction · 0.50
postFunction · 0.50
eqMethod · 0.45
sizeMethod · 0.45
gqMethod · 0.45
lqMethod · 0.45
modeMethod · 0.45
varMethod · 0.45
zeroMethod · 0.45
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected