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

Method getNumAssertions

src/api/java/Solver.java:211–215  ·  view source on GitHub ↗

The number of assertions in the solver. @throws Z3Exception

()

Source from the content-addressed store, hash-verified

209 * @throws Z3Exception
210 **/
211 public int getNumAssertions()
212 {
213 ASTVector assrts = new ASTVector(getContext(), Native.solverGetAssertions(getContext().nCtx(), getNativeObject()));
214 return assrts.size();
215 }
216
217 /**
218 * The set of asserted formulas.

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.95
getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected