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

Method getColumnSorts

src/api/java/RelationSort.java:37–49  ·  view source on GitHub ↗

The sorts of the columns of the relation sort. @throws Z3Exception

()

Source from the content-addressed store, hash-verified

35 * @throws Z3Exception
36 **/
37 public Sort[] getColumnSorts()
38 {
39
40 if (m_columnSorts != null)
41 return m_columnSorts;
42
43 int n = getArity();
44 Sort[] res = new Sort[n];
45 for (int i = 0; i < n; i++)
46 res[i] = Sort.create(getContext(), Native.getRelationColumn(getContext()
47 .nCtx(), getNativeObject(), i));
48 return res;
49 }
50
51 private Sort[] m_columnSorts = null;
52

Callers

nothing calls this directly

Calls 5

getArityMethod · 0.95
createMethod · 0.95
getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected