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

Function p_int_mod

gecode/flatzinc/registry.cpp:476–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 div(s,x[0],x[1],x[2], s.ann2ipl(ann));
475 }
476 void p_int_mod(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
477 IntVar x0 = s.arg2IntVar(ce[0]);
478 IntVar x1 = s.arg2IntVar(ce[1]);
479 IntVar x2 = s.arg2IntVar(ce[2]);
480 IntVarArgs x = {x0, x1, x2};
481 unshare(s, x);
482 mod(s,x[0],x[1],x[2], s.ann2ipl(ann));
483 }
484
485 void p_int_min(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
486 IntVar x0 = s.arg2IntVar(ce[0]);

Callers

nothing calls this directly

Calls 4

unshareFunction · 0.85
modFunction · 0.85
arg2IntVarMethod · 0.80
ann2iplMethod · 0.80

Tested by

no test coverage detected