| 673 | s.ann2ipl(ann)); |
| 674 | } |
| 675 | void p_bool_l_imp(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) { |
| 676 | BoolVar b0 = s.arg2BoolVar(ce[0]); |
| 677 | BoolVar b1 = s.arg2BoolVar(ce[1]); |
| 678 | if (ce[2]->isBool()) { |
| 679 | rel(s, b1, BOT_IMP, b0, ce[2]->getBool(), s.ann2ipl(ann)); |
| 680 | } else { |
| 681 | rel(s, b1, BOT_IMP, b0, s.bv[ce[2]->getBoolVar()], s.ann2ipl(ann)); |
| 682 | } |
| 683 | } |
| 684 | void p_bool_r_imp(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) { |
| 685 | BOOL_OP(BOT_IMP); |
| 686 | } |
nothing calls this directly
no test coverage detected