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

Function p_bool_or_imp

gecode/flatzinc/registry.cpp:591–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 BOOL_OP(BOT_OR);
590 }
591 void p_bool_or_imp(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
592 BoolVar b0 = s.arg2BoolVar(ce[0]);
593 BoolVar b1 = s.arg2BoolVar(ce[1]);
594 BoolVar b2 = s.arg2BoolVar(ce[2]);
595 clause(s, BOT_OR, BoolVarArgs()<<b0<<b1, BoolVarArgs()<<b2, 1,
596 s.ann2ipl(ann));
597 }
598 void p_bool_and(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
599 BOOL_OP(BOT_AND);
600 }

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected