Function clingo_sys::clingo_symbolic_atoms_literal [] [src]

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).

Parameters:

  • atoms - the target
  • iterator - iterator to the atom
  • literal - the associated literal

Returns whether the call was successful