[][src]Function clingo_sys::clingo_backend_assume

pub unsafe extern "C" fn clingo_backend_assume(
    backend: *mut clingo_backend_t,
    literals: *const clingo_literal_t,
    size: usize
) -> bool

! Add an assumption directive. ! ! @param[in] backend the target backend ! @param[in] literals the literals to assume (positive literals are true and negative literals false for the next solve call) ! @param[in] size the number of atoms ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc