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

Function p_table_bool_reif

gecode/flatzinc/registry.cpp:1303–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301 }
1302
1303 void
1304 p_table_bool_reif(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1305 BoolVarArgs x = s.arg2boolvarargs(ce[0]);
1306 IntArgs tuples = s.arg2boolargs(ce[1]);
1307 TupleSet ts = s.arg2tupleset(tuples,x.size());
1308 unshare(s,x);
1309 extensional(s,x,ts,Reify(s.arg2BoolVar(ce[2]),RM_EQV),s.ann2ipl(ann));
1310 }
1311
1312 void
1313 p_table_bool_imp(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {

Callers

nothing calls this directly

Calls 9

unshareFunction · 0.85
ReifyClass · 0.85
arg2boolvarargsMethod · 0.80
arg2boolargsMethod · 0.80
arg2tuplesetMethod · 0.80
arg2BoolVarMethod · 0.80
ann2iplMethod · 0.80
extensionalFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected