Function clingo_sys::clingo_theory_atoms_atom_literal [] [src]

pub unsafe extern "C" fn clingo_theory_atoms_atom_literal(
    atoms: *mut clingo_theory_atoms_t,
    atom: clingo_id_t,
    literal: *mut clingo_literal_t
) -> bool

Get the aspif literal associated with the given theory atom.

Parameters:

  • atoms container where the atom is stored
  • atom id of the atom
  • literal the resulting literal

Returns whether the call was successful