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

Method getFormulas

src/api/java/Goal.java:131–138  ·  view source on GitHub ↗

The formulas in the goal. @throws Z3Exception

()

Source from the content-addressed store, hash-verified

129 * @throws Z3Exception
130 **/
131 public BoolExpr[] getFormulas()
132 {
133 int n = size();
134 BoolExpr[] res = new BoolExpr[n];
135 for (int i = 0; i < n; i++)
136 res[i] = (BoolExpr) Expr.create(getContext(), Native.goalFormula(getContext().nCtx(), getNativeObject(), i));
137 return res;
138 }
139
140 /**
141 * The number of formulas, subformulas and terms in the goal.

Callers 9

AsBoolExprMethod · 0.95
arrayExample1Method · 0.95
basicTestsMethod · 0.95
arrayExample1Method · 0.95
basicTestsMethod · 0.95
solveTacticalMethod · 0.80
modelConverterTestMethod · 0.80
solveTacticalMethod · 0.80
modelConverterTestMethod · 0.80

Calls 5

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

Tested by

no test coverage detected