func_interp_get_num_entries method

int func_interp_get_num_entries(
  1. Z3_context c,
  2. Z3_func_interp f
)

\brief Return the number of entries in the given function interpretation.

A function interpretation is represented as a finite map and an 'else' value. Each entry in the finite map represents the value of a function given a set of arguments. This procedure return the number of element in the finite map of \c f.

\sa Z3_func_interp_get_entry

def_API('Z3_func_interp_get_num_entries', UINT, (_in(CONTEXT), _in(FUNC_INTERP)))

Implementation

int func_interp_get_num_entries(
  Z3_context c,
  Z3_func_interp f,
) {
  return _func_interp_get_num_entries(
    c,
    f,
  );
}