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

Function p_table_bool_imp

gecode/flatzinc/registry.cpp:1312–1319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310 }
1311
1312 void
1313 p_table_bool_imp(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1314 BoolVarArgs x = s.arg2boolvarargs(ce[0]);
1315 IntArgs tuples = s.arg2boolargs(ce[1]);
1316 TupleSet ts = s.arg2tupleset(tuples,x.size());
1317 unshare(s,x);
1318 extensional(s,x,ts,Reify(s.arg2BoolVar(ce[2]),RM_IMP),s.ann2ipl(ann));
1319 }
1320
1321 void p_cumulative_opt(FlatZincSpace& s, const ConExpr& ce,
1322 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