[][src]Function clingo_sys::clingo_symbolic_atoms_literal

pub unsafe extern "C" fn clingo_symbolic_atoms_literal(
    atoms: *const clingo_symbolic_atoms_t,
    iterator: clingo_symbolic_atom_iterator_t,
    literal: *mut clingo_literal_t
) -> bool

Returns the (numeric) aspif literal corresponding to the given symbolic atom.

Such a literal can be mapped to a solver literal (see the \ref Propagator module) or be used in rules in aspif format (see the \ref ProgramBuilder module).

@param[in] atoms the target @param[in] iterator iterator to the atom @param[out] literal the associated literal @return whether the call was successful