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

Function p_maximum

gecode/flatzinc/registry.cpp:1121–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119 }
1120
1121 void p_maximum(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1122 IntVarArgs iv = s.arg2intvarargs(ce[1]);
1123 max(s, iv, s.arg2IntVar(ce[0]), s.ann2ipl(ann));
1124 }
1125
1126 void p_minimum_arg(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1127 IntVar x = s.arg2IntVar(ce[2]);

Callers

nothing calls this directly

Calls 4

arg2intvarargsMethod · 0.80
arg2IntVarMethod · 0.80
ann2iplMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected