Function clingo_sys::clingo_symbolic_atoms_is_fact
source · pub unsafe extern "C" fn clingo_symbolic_atoms_is_fact(
atoms: *const clingo_symbolic_atoms_t,
iterator: clingo_symbolic_atom_iterator_t,
fact: *mut bool
) -> bool
Expand description
! Check whether an atom is a fact. ! ! @note This does not determine if an atom is a cautious consequence. The ! grounding or solving component’s simplifications can only detect this in ! some cases. ! ! @param[in] atoms the target ! @param[in] iterator iterator to the atom ! @param[out] fact whether the atom is a fact ! @return whether the call was successful