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

Method getTrail

src/api/java/Solver.java:377–381  ·  view source on GitHub ↗

Retrieve the solver decision trail. Remarks: This retrieves the trail of decisions made by the solver after a check call. The trail represents the sequence of Boolean literals (decisions and propagations) in the order they were assigned. @return An array of Boolean expressions representing

()

Source from the content-addressed store, hash-verified

375 * @throws Z3Exception
376 **/
377 public BoolExpr[] getTrail()
378 {
379 ASTVector trail = new ASTVector(getContext(), Native.solverGetTrail(getContext().nCtx(), getNativeObject()));
380 return trail.ToBoolExprArray();
381 }
382
383 /**
384 * A brief justification of why the last call to {@code Check} returned

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