Assert a constraint (or multiple) into the optimize solver.
(Expr<BoolSort>... constraints)
| 59 | * Assert a constraint (or multiple) into the optimize solver. |
| 60 | **/ |
| 61 | public void Assert(Expr<BoolSort>... constraints) |
| 62 | { |
| 63 | getContext().checkContextMatch(constraints); |
| 64 | for (Expr<BoolSort> a : constraints) |
| 65 | { |
| 66 | Native.optimizeAssert(getContext().nCtx(), getNativeObject(), a.getNativeObject()); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Alias for Assert. |
no test coverage detected