model_get_num_sorts method
\brief Return the number of uninterpreted sorts that \c m assigns an interpretation to.
Z3 also provides an interpretation for uninterpreted sorts used in a formula. The interpretation for a sort \c s is a finite set of distinct values. We say this finite set is the "universe" of \c s.
\sa Z3_model_get_sort \sa Z3_model_get_sort_universe
def_API('Z3_model_get_num_sorts', UINT, (_in(CONTEXT), _in(MODEL)))
Implementation
int model_get_num_sorts(
Z3_context c,
Z3_model m,
) {
return _model_get_num_sorts(
c,
m,
);
}