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

Function p_table_bool

gecode/flatzinc/registry.cpp:1294–1301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1292 }
1293
1294 void
1295 p_table_bool(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1296 BoolVarArgs x = s.arg2boolvarargs(ce[0]);
1297 IntArgs tuples = s.arg2boolargs(ce[1]);
1298 TupleSet ts = s.arg2tupleset(tuples,x.size());
1299 unshare(s,x);
1300 extensional(s,x,ts,s.ann2ipl(ann));
1301 }
1302
1303 void
1304 p_table_bool_reif(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected