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

Function p_array_bool_and_imp

gecode/flatzinc/registry.cpp:612–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610 BOOL_ARRAY_OP(BOT_AND);
611 }
612 void p_array_bool_and_imp(FlatZincSpace& s, const ConExpr& ce,
613 AST::Node* ann)
614 {
615 BoolVarArgs bv = s.arg2boolvarargs(ce[0]);
616 BoolVar b1 = s.arg2BoolVar(ce[1]);
617 for (unsigned int i=bv.size(); i--;)
618 rel(s, b1, BOT_IMP, bv[i], 1, s.ann2ipl(ann));
619 }
620 void p_array_bool_or(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann)
621 {
622 BOOL_ARRAY_OP(BOT_OR);

Callers

nothing calls this directly

Calls 5

arg2boolvarargsMethod · 0.80
arg2BoolVarMethod · 0.80
ann2iplMethod · 0.80
relFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected