[][src]Function clingo_sys::clingo_assignment_is_fixed

pub unsafe extern "C" fn clingo_assignment_is_fixed(
    assignment: *const clingo_assignment_t,
    literal: clingo_literal_t,
    is_fixed: *mut bool
) -> bool

Check if a literal has a fixed truth value.

@param[in] assignment the target assignment @param[in] literal the literal @param[out] is_fixed whether the literal is fixed @return whether the call was successful