(Context ctx)
| 1519 | // / Create an ite-Expr (if-then-else Exprs). |
| 1520 | |
| 1521 | public void iteExample(Context ctx) |
| 1522 | { |
| 1523 | System.out.println("ITEExample"); |
| 1524 | Log.append("ITEExample"); |
| 1525 | |
| 1526 | BoolExpr f = ctx.mkFalse(); |
| 1527 | Expr one = ctx.mkInt(1); |
| 1528 | Expr zero = ctx.mkInt(0); |
| 1529 | Expr ite = ctx.mkITE(f, one, zero); |
| 1530 | |
| 1531 | System.out.println("Expr: " + ite); |
| 1532 | } |
| 1533 | |
| 1534 | // / Create an enumeration data type. |
| 1535 |