The model of the last Check. Remarks: The result is null if Check was not invoked before, if its results was not SATISFIABLE, or if model production is not enabled. @throws Z3Exception
()
| 294 | * @throws Z3Exception |
| 295 | **/ |
| 296 | public Model getModel() |
| 297 | { |
| 298 | long x = Native.solverGetModel(getContext().nCtx(), getNativeObject()); |
| 299 | if (x == 0) { |
| 300 | return null; |
| 301 | } else { |
| 302 | return new Model(getContext(), x); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * The proof of the last {@code Check}. |
no test coverage detected