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

Method getObjectives

src/api/java/Optimize.java:394–398  ·  view source on GitHub ↗

The set of asserted formulas.

()

Source from the content-addressed store, hash-verified

392 * The set of asserted formulas.
393 */
394 public Expr<?>[] getObjectives()
395 {
396 ASTVector objectives = new ASTVector(getContext(), Native.optimizeGetObjectives(getContext().nCtx(), getNativeObject()));
397 return objectives.ToExprArray();
398 }
399
400 /**
401 * Optimize statistics.

Callers

nothing calls this directly

Calls 4

ToExprArrayMethod · 0.95
getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected