* Posting Boolean expressions and relations * */
| 626 | * |
| 627 | */ |
| 628 | BoolVar |
| 629 | expr(Home home, const BoolExpr& e, const IntPropLevels& ipls) { |
| 630 | PostInfo pi(home); |
| 631 | if (!home.failed()) |
| 632 | return e.expr(home,ipls); |
| 633 | BoolVar x(home,0,1); |
| 634 | return x; |
| 635 | } |
| 636 | |
| 637 | void |
| 638 | rel(Home home, const BoolExpr& e, const IntPropLevels& ipls) { |