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

Function p_schedule_unary_optional

gecode/flatzinc/registry.cpp:1533–1540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1531 }
1532
1533 void p_schedule_unary_optional(FlatZincSpace& s, const ConExpr& ce,
1534 AST::Node*) {
1535 IntVarArgs x = s.arg2intvarargs(ce[0]);
1536 IntArgs p = s.arg2intargs(ce[1]);
1537 BoolVarArgs m = s.arg2boolvarargs(ce[2]);
1538 unshare(s,x);
1539 unary(s, x, p, m);
1540 }
1541
1542 void p_circuit(FlatZincSpace& s, const ConExpr& ce, AST::Node *ann) {
1543 int off = ce[0]->getInt();

Callers

nothing calls this directly

Calls 5

unshareFunction · 0.85
unaryFunction · 0.85
arg2intvarargsMethod · 0.80
arg2intargsMethod · 0.80
arg2boolvarargsMethod · 0.80

Tested by

no test coverage detected