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

Function p_table_int

gecode/flatzinc/registry.cpp:1267–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265 }
1266
1267 void
1268 p_table_int(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1269 IntVarArgs x = s.arg2intvarargs(ce[0]);
1270 IntArgs tuples = s.arg2intargs(ce[1]);
1271 TupleSet ts = s.arg2tupleset(tuples,x.size());
1272 unshare(s,x);
1273 extensional(s,x,ts,s.ann2ipl(ann));
1274 }
1275
1276 void
1277 p_table_int_reif(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {

Callers

nothing calls this directly

Calls 7

unshareFunction · 0.85
arg2intvarargsMethod · 0.80
arg2intargsMethod · 0.80
arg2tuplesetMethod · 0.80
ann2iplMethod · 0.80
extensionalFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected