Function clingo_sys::clingo_theory_atoms_element_tuple [] [src]

pub unsafe extern "C" fn clingo_theory_atoms_element_tuple(
    atoms: *const clingo_theory_atoms_t,
    element: clingo_id_t,
    tuple: *mut *const clingo_id_t,
    size: *mut usize
) -> bool

Get the tuple (array of theory terms) of the given theory element.

Parameters:

  • atoms - container where the element is stored
  • element - id of the element
  • tuple - the resulting array of term ids
  • size - the number of term ids

Returns whether the call was successful