[][src]Function clingo_sys::clingo_theory_atoms_element_condition_id

pub unsafe extern "C" fn clingo_theory_atoms_element_condition_id(
    atoms: *const clingo_theory_atoms_t,
    element: clingo_id_t,
    condition: *mut clingo_literal_t
) -> bool

Get the id of the condition of the given theory element.

@note This id can be mapped to a solver literal using clingo_propagate_init_solver_literal(). This id is not (necessarily) an aspif literal; to get aspif literals use clingo_theory_atoms_element_condition().

@param[in] atoms container where the element is stored @param[in] element id of the element @param[out] condition the resulting condition id @return whether the call was successful