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

Method getSortUniverse

src/api/java/Model.java:271–277  ·  view source on GitHub ↗

The finite set of distinct values that represent the interpretation for sort s. @param s An uninterpreted sort @return An array of expressions, where each is an element of the universe of s @throws Z3Exception

(R s)

Source from the content-addressed store, hash-verified

269 * @throws Z3Exception
270 **/
271 public <R extends Sort> Expr<R>[] getSortUniverse(R s)
272 {
273
274 ASTVector nUniv = new ASTVector(getContext(), Native.modelGetSortUniverse(
275 getContext().nCtx(), getNativeObject(), s.getNativeObject()));
276 return (Expr<R>[]) nUniv.ToExprArray();
277 }
278
279 /**
280 * Conversion of models to strings.

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