Function clingo_sys::clingo_assignment_at
source · pub unsafe extern "C" fn clingo_assignment_at(
assignment: *const clingo_assignment_t,
offset: usize,
literal: *mut clingo_literal_t
) -> bool
Expand description
! The (positive) literal at the given offset in the assignment. ! ! @param[in] assignment the target ! @param[in] offset the offset of the literal ! @param[out] literal the literal ! @return whether the call was successful