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

Function p_array_bool_or_imp

gecode/flatzinc/registry.cpp:624–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 BOOL_ARRAY_OP(BOT_OR);
623 }
624 void p_array_bool_or_imp(FlatZincSpace& s, const ConExpr& ce,
625 AST::Node* ann)
626 {
627 BoolVarArgs bv = s.arg2boolvarargs(ce[0]);
628 BoolVar b1 = s.arg2BoolVar(ce[1]);
629 clause(s, BOT_OR, bv, BoolVarArgs()<<b1, 1, s.ann2ipl(ann));
630 }
631 void p_array_bool_xor(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann)
632 {
633 BOOL_ARRAY_OP(BOT_XOR);

Callers

nothing calls this directly

Calls 5

clauseFunction · 0.85
arg2boolvarargsMethod · 0.80
arg2BoolVarMethod · 0.80
ann2iplMethod · 0.80
BoolVarArgsClass · 0.50

Tested by

no test coverage detected