The uninterpreted sorts that the model has an interpretation for. Remarks: Z3 also provides an interpretation for uninterpreted sorts used in a formula. The interpretation for a sort is a finite set of distinct values. We say this finite set is the "universe" of the sort. @see #getNumSorts @see #g
()
| 249 | * @throws Z3Exception |
| 250 | **/ |
| 251 | public Sort[] getSorts() |
| 252 | { |
| 253 | |
| 254 | int n = getNumSorts(); |
| 255 | Sort[] res = new Sort[n]; |
| 256 | for (int i = 0; i < n; i++) |
| 257 | res[i] = Sort.create(getContext(), |
| 258 | Native.modelGetSort(getContext().nCtx(), getNativeObject(), i)); |
| 259 | return res; |
| 260 | } |
| 261 | |
| 262 | /** |
| 263 | * The finite set of distinct values that represent the interpretation for |
nothing calls this directly
no test coverage detected