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

Function p_circuit

gecode/flatzinc/registry.cpp:1542–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1540 }
1541
1542 void p_circuit(FlatZincSpace& s, const ConExpr& ce, AST::Node *ann) {
1543 int off = ce[0]->getInt();
1544 IntVarArgs xv = s.arg2intvarargs(ce[1]);
1545 unshare(s,xv);
1546 circuit(s,off,xv,s.ann2ipl(ann));
1547 }
1548 void p_circuit_cost_array(FlatZincSpace& s, const ConExpr& ce,
1549 AST::Node *ann) {
1550 IntArgs c = s.arg2intargs(ce[0]);

Callers

nothing calls this directly

Calls 5

unshareFunction · 0.85
circuitFunction · 0.85
getIntMethod · 0.80
arg2intvarargsMethod · 0.80
ann2iplMethod · 0.80

Tested by

no test coverage detected