(Context ctx)
| 1304 | // / Create an ite-Expr (if-then-else Exprs). |
| 1305 | |
| 1306 | public void iteExample(Context ctx) |
| 1307 | { |
| 1308 | System.out.println("ITEExample"); |
| 1309 | Log.append("ITEExample"); |
| 1310 | |
| 1311 | BoolExpr f = ctx.mkFalse(); |
| 1312 | IntNum one = ctx.mkInt(1); |
| 1313 | IntNum zero = ctx.mkInt(0); |
| 1314 | Expr<IntSort> ite = ctx.mkITE(f, one, zero); |
| 1315 | |
| 1316 | System.out.printf("Expr: %s%n", ite); |
| 1317 | } |
| 1318 | |
| 1319 | // / Create an enumeration data type. |
| 1320 |