MCPcopy Create free account
hub / github.com/Z3Prover/z3 / getAssertions

Method getAssertions

src/api/java/Solver.java:222–226  ·  view source on GitHub ↗

The set of asserted formulas. @throws Z3Exception

()

Source from the content-addressed store, hash-verified

220 * @throws Z3Exception
221 **/
222 public BoolExpr[] getAssertions()
223 {
224 ASTVector assrts = new ASTVector(getContext(), Native.solverGetAssertions(getContext().nCtx(), getNativeObject()));
225 return assrts.ToBoolExprArray();
226 }
227
228 /**
229 * Checks whether the assertions in the solver are consistent or not.

Callers

nothing calls this directly

Calls 4

ToBoolExprArrayMethod · 0.95
getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected