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

Method isFiniteDomain

src/api/java/Expr.java:2075–2081  ·  view source on GitHub ↗

Indicates whether the term is of an array sort. @throws Z3Exception on error @return a boolean

()

Source from the content-addressed store, hash-verified

2073 * @return a boolean
2074 **/
2075 public boolean isFiniteDomain()
2076 {
2077 return (Native.isApp(getContext().nCtx(), getNativeObject()) && Native
2078 .getSortKind(getContext().nCtx(),
2079 Native.getSort(getContext().nCtx(), getNativeObject())) == Z3_sort_kind.Z3_FINITE_DOMAIN_SORT
2080 .toInt());
2081 }
2082
2083 /**
2084 * Indicates whether the term is a less than predicate over a finite domain.

Callers

nothing calls this directly

Calls 7

nCtxMethod · 0.80
getContextMethod · 0.80
getNativeObjectMethod · 0.80
getSortKindMethod · 0.80
toIntMethod · 0.80
isAppMethod · 0.65
getSortMethod · 0.65

Tested by

no test coverage detected