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

Function p_int_pow

gecode/flatzinc/registry.cpp:463–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461 mult(s, x0, x1, x2, s.ann2ipl(ann));
462 }
463 void p_int_pow(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
464 IntVar x0 = s.arg2IntVar(ce[0]);
465 IntVar x2 = s.arg2IntVar(ce[2]);
466 pow(s, x0, ce[1]->getInt(), x2, s.ann2ipl(ann));
467 }
468 void p_int_div(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
469 IntVar x0 = s.arg2IntVar(ce[0]);
470 IntVar x1 = s.arg2IntVar(ce[1]);

Callers

nothing calls this directly

Calls 4

arg2IntVarMethod · 0.80
getIntMethod · 0.80
ann2iplMethod · 0.80
powFunction · 0.50

Tested by

no test coverage detected