pub unsafe extern "C" fn clingo_solve_control_add_clause(
    control: *mut clingo_solve_control_t,
    clause: *const clingo_literal_t,
    size: usize
) -> bool
Expand description

! Add a clause that applies to the current solving step during model ! enumeration. ! ! @note The @ref Propagator module provides a more sophisticated ! interface to add clauses - even on partial assignments. ! ! @param[in] control the target ! @param[in] clause array of literals representing the clause ! @param[in] size the size of the literal array ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc ! - ::clingo_error_runtime if adding the clause fails