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

Method getNonUnits

src/api/java/Solver.java:362–366  ·  view source on GitHub ↗

Retrieve non-unit atomic formulas in the solver state. Remarks: This retrieves atomic formulas that are not units after a check call. @return An array of Boolean expressions representing the non-unit formulas @throws Z3Exception

()

Source from the content-addressed store, hash-verified

360 * @throws Z3Exception
361 **/
362 public BoolExpr[] getNonUnits()
363 {
364 ASTVector nonUnits = new ASTVector(getContext(), Native.solverGetNonUnits(getContext().nCtx(), getNativeObject()));
365 return nonUnits.ToBoolExprArray();
366 }
367
368 /**
369 * Retrieve the solver decision trail.

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