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

Function p_minimum_arg_bool

gecode/flatzinc/registry.cpp:1142–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140 }
1141
1142 void p_minimum_arg_bool(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1143 BoolVarArgs bv = s.arg2boolvarargs(ce[0]);
1144 unshare(s, bv);
1145 int offset = ce[1]->getInt();
1146 argmin(s, bv, offset, s.arg2IntVar(ce[2]), true, s.ann2ipl(ann));
1147 }
1148
1149 void p_maximum_arg_bool(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
1150 BoolVarArgs bv = s.arg2boolvarargs(ce[0]);

Callers

nothing calls this directly

Calls 6

unshareFunction · 0.85
argminFunction · 0.85
arg2boolvarargsMethod · 0.80
getIntMethod · 0.80
arg2IntVarMethod · 0.80
ann2iplMethod · 0.80

Tested by

no test coverage detected