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

Method solveTactical

examples/java/JavaGenericExample.java:193–204  ·  view source on GitHub ↗
(Context ctx, Tactic t, Goal g, Status sat)

Source from the content-addressed store, hash-verified

191 }
192
193 void solveTactical(Context ctx, Tactic t, Goal g, Status sat)
194 throws TestFailedException
195 {
196 Solver s = ctx.mkSolver(t);
197 System.out.printf("%nTactical solver: %s%n", s);
198
199 s.add(g.getFormulas());
200 System.out.printf("Solver: %s%n", s);
201
202 if (s.check() != sat)
203 throw new TestFailedException();
204 }
205
206 ApplyResult applyTactic(Context ctx, Tactic t, Goal g)
207 {

Callers

nothing calls this directly

Calls 4

addMethod · 0.95
checkMethod · 0.95
mkSolverMethod · 0.80
getFormulasMethod · 0.80

Tested by

no test coverage detected